Query: tokyotyranttable
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TOKYOTYRANTTABLE(3) TOKYOTYRANTTABLE(3) The TokyoTyrantTable classINTRODUCTIONProvides an API to the table databases. A table database can be create using the following command: ttserver -port 1979 /tmp/tt_table.tct. In Tokyo Tyrant the table API is a schemaless database which can store arbitrary amount of key-value pairs under a single primary key.CLASS SYNOPSISTokyoTyrantTable TokyoTyrantTableextends TokyoTyrant Methods o public void TokyoTyrantTable::add (string $key, mixed $increment, [string $type]) o public int TokyoTyrantTable::genUid (void ) o public void TokyoTyrantTable::get (mixed $keys) o public TokyoTyrantIterator TokyoTyrantTable::getIterator (void ) o public TokyoTyrantQuery TokyoTyrantTable::getQuery (void ) o public void TokyoTyrantTable::out (mixed $keys) o public int TokyoTyrantTable::put (string $key, array $columns) o public void TokyoTyrantTable::putCat (string $key, array $columns) o public void TokyoTyrantTable::putKeep (string $key, array $columns) o public void TokyoTyrantTable::putNr (mixed $keys, [string $value]) o public void TokyoTyrantTable::putShl (string $key, string $value, int $width) o public mixed TokyoTyrantTable::setIndex (string $column, int $type) 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 TOKYOTYRANTTABLE(3)