RedisString

Represents a Redis string value.

In addition to the methods specific to string values, all operations of RedisValue are available using an alias this declaration.

Constructors

this
this(RedisDatabase db, string key)
Undocumented in source.

Alias This

value

Members

Functions

get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
getBit
bool getBit(long offset)
Undocumented in source. Be warned that the author may not have intended to support it.
getSet
T getSet(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
getSubString
string getSubString(long start, long end)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
long opOpAssign(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
long opOpAssign(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
long opOpAssign(double value)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
long opOpAssign(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
long opOpAssign(double value)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
long opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
long opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
setBit
bool setBit(long offset, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setExpire
void setExpire(T value, Duration expire_time)
Undocumented in source. Be warned that the author may not have intended to support it.
setIfNotExist
bool setIfNotExist(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setSubString
long setSubString(long offset, string value)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

length
long length [@property getter]

The length in bytes of the string.

Variables

value
RedisValue value;
Undocumented in source.

Meta