GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SENNA::INDEX (3)

.ds Aq ’

NAME

Senna::Index - Interface to Senna’s Index

CONTENTS

SYNOPSIS



  use Senna::Index;

  my $index = Senna::Index->create(path => /path/to/index);
  # $index = Senna::Index->open(path => /path/to/index);

  $rc = $index->insert(key => $key, value => $new);
  $rc = $index->delete(key => $key, value => $old_value);
  $rc = $index->update(key => $key, new => $new, old => $old, section => $s);

  $path = $index->path;

  my ($key_size, $flags, $initial_n_segments, $encoding,
      $nrecords_keys, $file_size_keys, $nrecords_lexicon,
      $file_size_lexicon, $inv_seg_size, $inv_chunk_size) =
        $index->info;

  $index->key_size;
  $index->flags;
  $index->initial_n_segments;
  $index->encoding;
  $index->nrecords_keys;
  $index->file_size_keys;
  $index->nrecords_lexicon;
  $index->file_size_lexicon;
  $index->inv_seg_size;
  $index->inv_chunk_size;

  $index->close;
  $index->remove;



DESCRIPTION

Senna::Index is an interface to the index struct in Senna (http://qwik.jp/senna).

METHODS

    delete

    file_size_keys

    file_size_lexicon

    info

    insert

    inv_chunk_size

    inv_seg_size

    nrecords_keys

    nrecords_lexicon

    path

    query_exec

    rename

    select

    update

    close

    create

    encoding

    flags

    initial_n_segments

    key_size

    open

    remove

AUTHOR

Copyright (C) 2005-2006 by Daisuke Maki <dmaki@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

Development funded by Brazil Ltd. <http://qwik.jp/senna/>

SEE ALSO

http://qwik.jp/senna - Senna Development Homepage
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SENNA::INDEX (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.