123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?php
- namespace Swoole;
- class Table implements \Iterator, \ArrayAccess, \Countable
- {
- public const TYPE_INT = 1;
- public const TYPE_STRING = 3;
- public const TYPE_FLOAT = 2;
- public $size;
- public $memorySize;
- public function __construct($table_size, $conflict_proportion = null)
- {
- }
- /**
- * @return mixed
- */
- public function column($name, $type, $size = null)
- {
- }
- /**
- * @return mixed
- */
- public function create()
- {
- }
- /**
- * @return mixed
- */
- public function destroy()
- {
- }
- /**
- * @return mixed
- */
- public function set($key, array $value)
- {
- }
- /**
- * @return mixed
- */
- public function get($key, $field = null)
- {
- }
- /**
- * @return mixed
- */
- public function count()
- {
- }
- /**
- * @return mixed
- */
- public function del($key)
- {
- }
- /**
- * @return mixed
- */
- public function delete($key)
- {
- }
- /**
- * @return mixed
- */
- public function exists($key)
- {
- }
- /**
- * @return mixed
- */
- public function exist($key)
- {
- }
- /**
- * @return mixed
- */
- public function incr($key, $column, $incrby = null)
- {
- }
- /**
- * @return mixed
- */
- public function decr($key, $column, $decrby = null)
- {
- }
- /**
- * @return mixed
- */
- public function getSize()
- {
- }
- /**
- * @return mixed
- */
- public function getMemorySize()
- {
- }
- /**
- * @return mixed
- */
- public function offsetExists($offset)
- {
- }
- /**
- * @return mixed
- */
- public function offsetGet($offset)
- {
- }
- /**
- * @return mixed
- */
- public function offsetSet($offset, $value)
- {
- }
- /**
- * @return mixed
- */
- public function offsetUnset($offset)
- {
- }
- /**
- * @return mixed
- */
- public function rewind()
- {
- }
- /**
- * @return mixed
- */
- public function next()
- {
- }
- /**
- * @return mixed
- */
- public function current()
- {
- }
- /**
- * @return mixed
- */
- public function key()
- {
- }
- /**
- * @return mixed
- */
- public function valid()
- {
- }
- }
|