TOKYOTYRANTITERATOR(3) TOKYOTYRANTITERATOR(3)
The TokyoTyrantIterator class
INTRODUCTION
Provides an iterator for TokyoTyrant and TokyoTyrantTable objects. The iterator iterates over all keys and values in the database. Toky-
oTyrantIterator was added in version 0.2.0.
CLASS SYNOPSIS
TokyoTyrantIterator
TokyoTyrantIteratorIterator
Methods
o public TokyoTyrantIterator::__construct (mixed $object)
o public mixed TokyoTyrantIterator::current (void )
o public mixed TokyoTyrantIterator::key (void )
o public mixed TokyoTyrantIterator::next (void )
o public void TokyoTyrantIterator::rewind (void )
o public bool TokyoTyrantIterator::valid (void )
Inherited methods
o public number TokyoTyrant::add (string $key, number $increment, [int $type])
o public TokyoTyrant TokyoTyrant::connect (string $host, [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])
o public TokyoTyrant TokyoTyrant::connectUri (string $uri)
o public TokyoTyrant::__construct ([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])
o public TokyoTyrant TokyoTyrant::copy (string $path)
o public string TokyoTyrant::ext (string $name, int $options, string $key, string $value)
o public array TokyoTyrant::fwmKeys (string $prefix, int $max_recs)
o public mixed TokyoTyrant::get (mixed $keys)
o public TokyoTyrantIterator TokyoTyrant::getIterator (void )
o public int TokyoTyrant::num (void )
o public TokyoTyrant TokyoTyrant::out (mixed $keys)
o public TokyoTyrant TokyoTyrant::put (mixed $keys, [string $value = NULL])
o public TokyoTyrant TokyoTyrant::putCat (mixed $keys, [string $value])
o public TokyoTyrant TokyoTyrant::putKeep (mixed $keys, [string $value])
o public TokyoTyrant TokyoTyrant::putNr (mixed $keys, [string $value = NULL])
o public mixed TokyoTyrant::putShl (string $key, string $value, int $width)
o public mixed TokyoTyrant::restore (string $log_dir, int $timestamp, [bool $check_consistency = true])
o public mixed TokyoTyrant::setMaster (string $host, int $port, int $timestamp, [bool $check_consistency = true])
o public int TokyoTyrant::size (string $key)
o public array TokyoTyrant::stat (void )
o public mixed TokyoTyrant::sync (void )
o public TokyoTyrant TokyoTyrant::tune (float $timeout, [int $options = TokyoTyrant::RDBT_RECON])
o public mixed TokyoTyrant::vanish (void )
PHP Documentation Group TOKYOTYRANTITERATOR(3)