Genezzo::Row::RSIdx1.pm - Row Source InDeX tied hash class. A hierarchical pushhash (see Genezzo::PushHash::hph) class that stores a pushhash as a btree via Genezzo::Row::RSTable.
use Genezzo::Row::RSIdx1; # see Tablespace.pm -- implementation and usage is tightly tied # to genezzo engine... my %args = ( # need tablename, bufcache, etc... tablename => ... tso => ... bufcache => ... ); my %td_hash; $tie_val = tie %td_hash, 'Genezzo::Row::RSIdx1', %args; # pushhash style my @rowarr = ("this is a test", "and this is too"); my $newkey = $tie_val->HPush(\@rowarr); @rowarr = ("update this entry", "and this is too"); $tied_hash{$newkey} = \@rowarr; my $getcount = $tie_val->HCount();
RSIdx1 is index-only table class that packs complex objects into byte buffers via Genezzo::Block::RDBlock, maintaining a b-tree index on the primary key columns. Unlike a standard index, all of the table data (keys and value columns) is stored in a single b-tree.
various
Jeffrey I. Cohen, jcohen@genezzo.com
Genezzo::PushHash::HPHRowBlk, Genezzo::PushHash::hph, Genezzo::PushHash::PushHash, Genezzo::Tablespace, Genezzo::Row::RSTab, Genezzo::Block::RDBlock, Genezzo::BufCa::BCFile, Genezzo::BufCa::BufCaElt, perl(1).
Copyright (c) 2003, 2004 Jeffrey I Cohen. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Address bug reports and comments to: jcohen@genezzo.com
For more information, please visit the Genezzo homepage at http://www.genezzo.com
To install Genezzo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Genezzo
CPAN shell
perl -MCPAN -e shell install Genezzo
For more information on module installation, please visit the detailed CPAN module installation guide.