Jiro Nishiguchi > RocksDB-0.02 > RocksDB::FixedPrefixTransform

Download:
RocksDB-0.02.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

RocksDB::FixedPrefixTransform - rocksdb::FixedPrefixTransform object

SYNOPSIS ^

  use RocksDB;

  my $prefix = 'rocksdb:';
  my $prefix_extractor = RocksDB::FixedPrefixTransform->new(length($prefix));
  my $db = RocksDB->new('/path/to/db', { prefix_extractor => $prefix_extractor });
  my $iter = $db->new_iterator({ prefix => $prefix });

DESCRIPTION ^

RocksDB::FixedPrefixTransform is a rocksdb::FixedPrefixTransform object.

SEE ALSO ^

RocksDB, RocksDB::SliceTransform, RocksDB::Iterator

AUTHOR ^

Jiro Nishiguchi <jiro@cpan.org>

syntax highlighting: