The TokyoTyrantTable class
(PECL tokyo_tyrant >= 0.1.0)
简介
Provides 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.
类摘要
public void add
(
string $key
,
mixed $increment
[,
string $type
] )
public TokyoTyrantQuery getQuery
(
void
)
public int put
(
string $key
,
array $columns
)
public void putCat
(
string $key
,
array $columns
)
public void putKeep
(
string $key
,
array $columns
)
public void putNr
(
mixed $keys
[,
string $value
] )
public void putShl
(
string $key
,
string $value
,
int $width
)
public mixed setIndex
(
string $column
,
int $type
)
public TokyoTyrant TokyoTyrant::connect
(
string $host
[,
int $port
= TokyoTyrant::RDBDEF_PORT
[,
array $options
]] )
public string TokyoTyrant::ext
(
string $name
,
int $options
,
string $key
,
string $value
)
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
] )
public TokyoTyrant TokyoTyrant::tune
(
float $timeout
[,
int $options
= TokyoTyrant::RDBT_RECON
] )
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.