The TokyoTyrantIterator class
(PECL tokyo_tyrant >= 0.2.0)
Введение
Provides an iterator for TokyoTyrant and TokyoTyrantTable objects. The iterator iterates over all keys and values in the database. TokyoTyrantIterator was added in version 0.2.0.
Обзор классов
TokyoTyrantIterator
implements
Iterator
{
/* Methods */
/* Inherited methods */
public TokyoTyrant TokyoTyrant::connect
( string
$host
[, int $port
= TokyoTyrant::RDBDEF_PORT
[, array $options
]] )
public TokyoTyrant::__construct
([ string
$host
[, int $port
= TokyoTyrant::RDBDEF_PORT
[, array $options
]]] )
public mixed TokyoTyrant::restore
( string
$log_dir
, int $timestamp
[, bool $check_consistency
= true
] )
public mixed TokyoTyrant::setMaster
( string
}$host
, int $port
, int $timestamp
[, bool $check_consistency
= true
] )Содержание
- TokyoTyrantIterator::__construct — Construct an iterator
- TokyoTyrantIterator::current — Get the current value
- TokyoTyrantIterator::key — Returns the current key
- TokyoTyrantIterator::next — Move to next key
- TokyoTyrantIterator::rewind — Rewinds the iterator
- TokyoTyrantIterator::valid — Rewinds the iterator
Коментарии
404 Not Found