RedisArray
class RedisArray (View source)
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
mixed
__call(string $function_name, array $arguments)
No description
__construct(string|array $name_or_hosts, array|null $options = null)
No description
bool|array
_continuum()
No description
bool|callable
_distributor()
No description
bool|callable
_function()
No description
bool|array
_hosts()
No description
bool|null|Redis
_instance(string $host)
No description
bool|null
_rehash(callable|null $fn = null)
No description
bool|string|null
_target(string $key)
No description
array
bgsave()
No description
bool|int
del(string|array $key, string ...$otherkeys)
No description
bool|null
discard()
No description
bool|null|array
exec()
No description
bool|array
flushall()
No description
bool|array
flushdb()
No description
bool|array
getOption(int $opt)
No description
bool|array
hscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
No description
bool|array
info()
No description
bool|array
keys(string $pattern)
No description
bool|array
mget(array $keys)
No description
bool
mset(array $pairs)
No description
bool|RedisArray
multi(string $host, int|null $mode = null)
No description
bool|array
ping()
No description
bool|array
save()
No description
bool|array
scan(null|int|string $iterator, string $node, string|null $pattern = null, int $count = 0)
No description
bool|array
select(int $index)
No description
bool|array
setOption(int $opt, string $value)
No description
bool|array
sscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
No description
bool|int
unlink(string|array $key, string ...$otherkeys)
No description
bool|null
unwatch()
No description
bool|array
zscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
No description
mixed
acl(string $subcmd, string $args)
No description
RedisArray|int|false
append(string $key, mixed $value)
No description
RedisArray|bool
auth(SensitiveParameter] $ixed $credentials)
No description
RedisArray|bool
bgrewriteaof()
No description
RedisArray|array|false
waitaof(int $numlocal, int $numreplicas, int $timeout)
No description
RedisArray|int|false
bitcount(string $key, int $start, int $end = -1, bool $bybit = false)
No description
RedisArray|int|false
bitop(string $operation, string $deskey, string $srckey, string $other_keys)
No description
RedisArray|int|false
bitpos(string $key, bool $bit, int $start, int $end = -1, bool $bybit = false)
No description
RedisArray|array|null|false
blPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|array|null|false
brPop(string|array $key_or_keys, string|float|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|string|false
brpoplpush(string $src, string $dst, int|float $timeout)
No description
RedisArray|array|false
bzPopMax(string|array $key, string|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|array|false
bzPopMin(string|array $key, string|int $timeout_or_key, mixed $extra_args)
No description
RedisArray|array|null|false
bzmpop(float $timeout, array $keys, string $from, int $count = 1)
No description
RedisArray|array|null|false
zmpop(array $keys, string $from, int $count = 1)
No description
RedisArray|array|null|false
blmpop(float $timeout, array $keys, string $from, int $count = 1)
No description
RedisArray|array|null|false
lmpop(array $keys, string $from, int $count = 1)
No description
bool
clearLastError()
No description
mixed
client(string $opt, mixed $args)
No description
bool
close()
No description
mixed
command(?string $opt = null, mixed $args)
No description
mixed
config(string $operation, array|string|null $key_or_settings = null, ?string $value = null)
No description
RedisArray|bool
copy(string $src, string $dst, ?array $options = null)
No description
RedisArray|int|false
dbSize()
No description
RedisArray|string
debug(string $key)
No description
RedisArray|int|false
decr(string $key, int $by = 1)
No description
RedisArray|int|false
decrBy(string $key, int $value)
No description
RedisArray|int|false
delifeq(string $key, mixed $value)
No description
RedisArray|int|false
delete(array|string $key, string $other_keys)
No description
RedisArray|string|false
dump(string $key)
No description
RedisArray|string|false
echo(string $str)
No description
mixed
eval(string $script, array $args = [], int $num_keys)
No description
mixed
eval_ro(string $script_sha, array $args = [], int $num_keys)
No description
mixed
evalsha(string $sha1, array $args = [], int $num_keys)
No description
mixed
evalsha_ro(string $sha1, array $args = [], int $num_keys)
No description
RedisArray|int|bool
exists(mixed $key, mixed $other_keys)
No description
RedisArray|bool
expire(string $key, int $timeout, ?string $mode = null)
No description
RedisArray|bool
expireAt(string $key, int $timestamp, ?string $mode = null)
No description
RedisArray|bool
failover(?array $to = null, bool $abort = false, int $timeout)
No description
RedisArray|int|false
expiretime(string $key)
No description
RedisArray|int|false
pexpiretime(string $key)
No description
mixed
fcall(string $fn, array $keys = [], array $args = [])
No description
mixed
fcall_ro(string $fn, array $keys = [], array $args = [])
No description
RedisArray|bool|string|array
function(string $operation, mixed $args)
No description
RedisArray|int|false
geoadd(string $key, float $lng, float $lat, string $member, mixed $other_triples_and_options)
No description
RedisArray|float|false
geodist(string $key, string $src, string $dst, ?string $unit = null)
No description
RedisArray|array|false
geohash(string $key, string $member, string $other_members)
No description
RedisArray|array|false
geopos(string $key, string $member, string $other_members)
No description
mixed
georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
No description
mixed
georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
No description
mixed
georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = [])
No description
mixed
georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = [])
No description
array
geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])
No description
RedisArray|array|int|false
geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])
No description
mixed
get(string $key)
No description
RedisArray|array|false
getWithMeta(string $key)
No description
mixed
getAuth()
No description
RedisArray|int|false
getBit(string $key, int $idx)
No description
RedisArray|string|bool
getEx(string $key, array $options = [])
No description
int
getDBNum()
No description
RedisArray|string|bool
getDel(string $key)
No description
string
getHost()
No description
string|null
getLastError()
No description
int
getMode()
No description
string|null
getPersistentID()
No description
int
getPort()
No description
string|false
serverName()
No description
string|false
serverVersion()
No description
RedisArray|string|false
getRange(string $key, int $start, int $end)
No description
RedisArray|string|array|int|false
lcs(string $key1, string $key2, ?array $options = null)
No description
float
getReadTimeout()
No description
RedisArray|string|false
getset(string $key, mixed $value)
No description
float|false
getTimeout()
No description
array
getTransferredBytes()
No description
void
clearTransferredBytes()
No description
RedisArray|int|false
hDel(string $key, string $field, string $other_fields)
No description
RedisArray|bool
hExists(string $key, string $field)
No description
mixed
hGet(string $key, string $member)
No description
RedisArray|array|false
hGetAll(string $key)
No description
mixed
hGetWithMeta(string $key, string $member)
No description
RedisArray|int|false
hIncrBy(string $key, string $field, int $value)
No description
RedisArray|float|false
hIncrByFloat(string $key, string $field, float $value)
No description
RedisArray|array|false
hKeys(string $key)
No description
RedisArray|int|false
hLen(string $key)
No description
RedisArray|array|false
hMget(string $key, array $fields)
No description
RedisArray|array|false
hgetex(string $key, array $fields, string|array|null $expiry = null)
No description
RedisArray|int|false
hsetex(string $key, array $fields, ?array $expiry = null)
No description
RedisArray|array|false
hgetdel(string $key, array $fields)
No description
RedisArray|bool
hMset(string $key, array $fieldvals)
No description
RedisArray|string|array|false
hRandField(string $key, ?array $options = null)
No description
RedisArray|int|false
hSet(string $key, mixed $fields_and_vals)
No description
RedisArray|bool
hSetNx(string $key, string $field, mixed $value)
No description
RedisArray|int|false
hStrLen(string $key, string $field)
No description
RedisArray|array|false
hVals(string $key)
No description
RedisArray|array|false
httl(string $key, array $fields)
No description
RedisArray|array|false
hpttl(string $key, array $fields)
No description
RedisArray|array|false
hexpiretime(string $key, array $fields)
No description
RedisArray|array|false
hpexpiretime(string $key, array $fields)
No description
RedisArray|array|false
hpersist(string $key, array $fields)
No description
RedisArray|int|false
expiremember(string $key, string $field, int $ttl, ?string $unit = null)
No description
RedisArray|int|false
expirememberat(string $key, string $field, int $timestamp)
No description
RedisArray|int|false
incr(string $key, int $by = 1)
No description
RedisArray|int|false
incrBy(string $key, int $value)
No description
RedisArray|float|false
incrByFloat(string $key, float $value)
No description
bool
isConnected()
No description
void
lInsert(string $key, string $pos, mixed $pivot, mixed $value)
No description
RedisArray|int|false
lLen(string $key)
No description
RedisArray|string|false
lMove(string $src, string $dst, string $wherefrom, string $whereto)
No description
RedisArray|string|false
blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)
No description
RedisArray|bool|string|array
lPop(string $key, int $count)
No description
RedisArray|null|bool|int|array
lPos(string $key, mixed $value, ?array $options = null)
No description
RedisArray|int|false
lPush(string $key, mixed $elements)
No description
RedisArray|int|false
rPush(string $key, mixed $elements)
No description
RedisArray|int|false
lPushx(string $key, mixed $value)
No description
RedisArray|int|false
rPushx(string $key, mixed $value)
No description
RedisArray|bool
lSet(string $key, int $index, mixed $value)
No description
int
lastSave()
No description
mixed
lindex(string $key, int $index)
No description
RedisArray|array|false
lrange(string $key, int $start, int $end)
No description
RedisArray|int|false
lrem(string $key, mixed $value, int $count)
No description
RedisArray|bool
ltrim(string $key, int $start, int $end)
No description
RedisArray|bool
move(string $key, int $index)
No description
RedisArray|bool
msetnx(array $key_values)
No description
RedisArray|int|string|false
object(string $subcommand, string $key)
No description
bool
open(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
No description
bool
pconnect(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
No description
RedisArray|bool
persist(string $key)
No description
bool
pexpire(string $key, int $timeout, ?string $mode = null)
No description
RedisArray|bool
pexpireAt(string $key, int $timestamp, ?string $mode = null)
No description
RedisArray|int
pfadd(string $key, array $elements)
No description
RedisArray|int|false
pfcount(array|string $key_or_keys)
No description
RedisArray|bool
pfmerge(string $dst, array $srckeys)
No description
RedisArray
pipeline()
No description
bool
popen(string $host, int $port = 6379, float $timeout, ?string $persistent_id = null, int $retry_interval, float $read_timeout, ?array $context = null)
No description
RedisArray|bool
psetex(string $key, int $expire, mixed $value)
No description
bool
psubscribe(array $patterns, callable $cb)
No description
RedisArray|int|false
pttl(string $key)
No description
RedisArray|int|false
publish(string $channel, string $message)
No description
mixed
pubsub(string $command, mixed $arg = null)
No description
RedisArray|array|bool
punsubscribe(array $patterns)
No description
RedisArray|array|string|bool
rPop(string $key, int $count)
No description
RedisArray|string|false
randomKey()
No description
mixed
rawcommand(string $command, mixed $args)
No description
RedisArray|bool
rename(string $old_name, string $new_name)
No description
RedisArray|bool
renameNx(string $key_src, string $key_dst)
No description
RedisArray|bool
reset()
No description
RedisArray|bool
restore(string $key, int $ttl, string $value, ?array $options = null)
No description
mixed
role()
No description
RedisArray|string|false
rpoplpush(string $srckey, string $dstkey)
No description
RedisArray|int|false
sAdd(string $key, mixed $value, mixed $other_values)
No description
int
sAddArray(string $key, array $values)
No description
RedisArray|array|false
sDiff(string $key, string $other_keys)
No description
RedisArray|int|false
sDiffStore(string $dst, string $key, string $other_keys)
No description
RedisArray|array|false
sInter(array|string $key, string $other_keys)
No description
RedisArray|int|false
sintercard(array $keys, int $limit = -1)
No description
RedisArray|int|false
sInterStore(array|string $key, string $other_keys)
No description
RedisArray|array|false
sMembers(string $key)
No description
RedisArray|array|false
sMisMember(string $key, string $member, string $other_members)
No description
RedisArray|bool
sMove(string $src, string $dst, mixed $value)
No description
RedisArray|string|array|false
sPop(string $key, int $count)
No description
mixed
sRandMember(string $key, int $count)
No description
RedisArray|array|false
sUnion(string $key, string $other_keys)
No description
RedisArray|int|false
sUnionStore(string $dst, string $key, string $other_keys)
No description
RedisArray|int|false
scard(string $key)
No description
mixed
script(string $command, mixed $args)
No description
RedisArray|string|bool
set(string $key, mixed $value, mixed $options = null)
No description
RedisArray|int|false
setBit(string $key, int $idx, bool $value)
No description
RedisArray|int|false
setRange(string $key, int $index, string $value)
No description
void
setex(string $key, int $expire, mixed $value)
No description
RedisArray|bool
setnx(string $key, mixed $value)
No description
RedisArray|bool
sismember(string $key, mixed $value)
No description
RedisArray|bool
slaveof(?string $host = null, int $port = 6379)
No description
RedisArray|bool
replicaof(?string $host = null, int $port = 6379)
No description
RedisArray|int|false
touch(array|string $key_or_array, string $more_keys)
No description
mixed
slowlog(string $operation, int $length)
No description
mixed
sort(string $key, ?array $options = null)
No description
mixed
sort_ro(string $key, ?array $options = null)
No description
array
sortAsc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
array
sortAscAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
array
sortDesc(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
array
sortDescAlpha(string $key, ?string $pattern = null, mixed $get = null, int $offset = -1, int $count = -1, ?string $store = null)
No description
RedisArray|int|false
srem(string $key, mixed $value, mixed $other_values)
No description
bool
ssubscribe(array $channels, callable $cb)
No description
RedisArray|int|false
strlen(string $key)
No description
bool
subscribe(array $channels, callable $cb)
No description
RedisArray|array|bool
sunsubscribe(array $channels)
No description
RedisArray|bool
swapdb(int $src, int $dst)
No description
RedisArray|array
time()
No description
RedisArray|int|false
ttl(string $key)
No description
RedisArray|int|false
type(string $key)
No description
RedisArray|array|bool
unsubscribe(array $channels)
No description
RedisArray|bool
watch(array|string $key, string $other_keys)
No description
int|false
wait(int $numreplicas, int $timeout)
No description
int|false
xack(string $key, string $group, array $ids)
No description
RedisArray|string|false
xadd(string $key, string $id, array $values, int $maxlen, bool $approx = false, bool $nomkstream = false)
No description
RedisArray|bool|array
xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
No description
RedisArray|array|bool
xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)
No description
RedisArray|int|false
xdel(string $key, array $ids)
No description
mixed
xinfo(string $operation, ?string $arg1 = null, ?string $arg2 = null, int $count = -1)
No description
RedisArray|int|false
xlen(string $key)
No description
RedisArray|array|false
xpending(string $key, string $group, ?string $start = null, ?string $end = null, int $count = -1, ?string $consumer = null)
No description
RedisArray|array|bool
xrange(string $key, string $start, string $end, int $count = -1)
No description
RedisArray|array|bool
xread(array $streams, int $count = -1, int $block = -1)
No description
RedisArray|array|bool
xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
No description
RedisArray|array|bool
xrevrange(string $key, string $end, string $start, int $count = -1)
No description
RedisArray|int|false
vadd(string $key, array $values, mixed $element, array|null $options = null)
No description
RedisArray|array|false
vsim(string $key, mixed $member, array|null $options = null)
No description
RedisArray|int|false
vcard(string $key)
No description
RedisArray|int|false
vdim(string $key)
No description
RedisArray|array|false
vinfo(string $key)
No description
RedisArray|bool
vismember(string $key, mixed $member)
No description
RedisArray|array|false
vemb(string $key, mixed $member, bool $raw = false)
No description
RedisArray|array|string|false
vrandmember(string $key, int $count)
No description
RedisArray|array|false
vrange(string $key, string $min, string $max, int $count = -1)
No description
RedisArray|int|false
vrem(string $key, mixed $member)
No description
RedisArray|int|false
vsetattr(string $key, mixed $member, array|string $attributes)
No description
RedisArray|array|string|false
vgetattr(string $key, mixed $member, bool $decode = true)
No description
RedisArray|array|false
vlinks(string $key, mixed $member, bool $withscores = false)
No description
RedisArray|int|false
xtrim(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1)
No description
RedisArray|int|float|false
zAdd(string $key, array|float $score_or_options, mixed $more_scores_and_mems)
No description
RedisArray|int|false
zCard(string $key)
No description
RedisArray|int|false
zCount(string $key, int|string $start, int|string $end)
No description
RedisArray|float|false
zIncrBy(string $key, float $value, mixed $member)
No description
RedisArray|int|false
zLexCount(string $key, string $min, string $max)
No description
RedisArray|array|false
zMscore(string $key, mixed $member, mixed $other_members)
No description
RedisArray|array|false
zPopMax(string $key, ?int $count = null)
No description
RedisArray|array|false
zPopMin(string $key, ?int $count = null)
No description
RedisArray|array|false
zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null)
No description
RedisArray|array|false
zRangeByLex(string $key, string $min, string $max, int $offset = -1, int $count = -1)
No description
RedisArray|array|false
zRangeByScore(string $key, string $start, string $end, array $options = [])
No description
RedisArray|string|array
zRandMember(string $key, ?array $options = null)
No description
RedisArray|int|false
zRank(string $key, mixed $member)
No description
RedisArray|int|false
zRem(mixed $key, mixed $member, mixed $other_members)
No description
RedisArray|int|false
zRemRangeByLex(string $key, string $min, string $max)
No description
RedisArray|int|false
zRemRangeByRank(string $key, int $start, int $end)
No description
RedisArray|int|false
zRemRangeByScore(string $key, string $start, string $end)
No description
RedisArray|array|false
zRevRange(string $key, int $start, int $end, mixed $scores = null)
No description
RedisArray|array|false
zRevRangeByLex(string $key, string $max, string $min, int $offset = -1, int $count = -1)
No description
RedisArray|array|false
zRevRangeByScore(string $key, string $max, string $min, array|bool $options = [])
No description
RedisArray|int|false
zRevRank(string $key, mixed $member)
No description
RedisArray|float|false
zScore(string $key, mixed $member)
No description
RedisArray|array|false
zdiff(array $keys, ?array $options = null)
No description
RedisArray|int|false
zdiffstore(string $dst, array $keys)
No description
RedisArray|array|false
zinter(array $keys, ?array $weights = null, ?array $options = null)
No description
RedisArray|int|false
zintercard(array $keys, int $limit = -1)
No description
RedisArray|int|false
zinterstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
No description
RedisArray|array|false
zunion(array $keys, ?array $weights = null, ?array $options = null)
No description
RedisArray|int|false
zunionstore(string $dst, array $keys, ?array $weights = null, ?string $aggregate = null)
No description