The Swoole\Table class
(PECL swoole >= 1.9.0)
Einführung
Klassenbeschreibung
Vordefinierte Konstanten
Swoole\Table::TYPE_INT
Swoole\Table::TYPE_STRING
Swoole\Table::TYPE_FLOAT
Inhaltsverzeichnis
- Swoole\Table::column — Set the data type and size of the columns.
- Swoole\Table::__construct — Construct a Swoole memory table with fixed size.
- Swoole\Table::count — Count the rows in the table, or count all the elements in the table if $mode = 1.
- Swoole\Table::create — Create the swoole memory table.
- Swoole\Table::current — Get the current row.
- Swoole\Table::decr — Decrement the value in the Swoole table by $row_key and $column_key.
- Swoole\Table::del — Delete a row in the Swoole table by $row_key.
- Swoole\Table::destroy — Destroy the Swoole table.
- Swoole\Table::exist — Check if a row is existed by $row_key.
- Swoole\Table::get — Get the value in the Swoole table by $row_key and $column_key.
- Swoole\Table::incr — Increment the value by $row_key and $column_key.
- Swoole\Table::key — Get the key of current row.
- Swoole\Table::next — Iterator the next row.
- Swoole\Table::rewind — Rewind the iterator.
- Swoole\Table::set — Update a row of the table by $row_key.
- Swoole\Table::valid — Check current if the current row is valid.