Struct RedisString
Represents a Redis string value.
struct RedisString(T)
;
In addition to the methods specific to string values, all operations of
RedisValue
are available using an alias this
declaration.
Constructors
Name | Description |
---|---|
this
(db, key)
|
Fields
Name | Type | Description |
---|---|---|
value
|
RedisValue |
Properties
Name | Type | Description |
---|---|---|
length [get]
|
long | The length in bytes of the string. |
Methods
Name | Description |
---|---|
get
()
|
|
getBit
(offset)
|
|
getSet
(value)
|
|
getSubString
(start, end)
|
|
opAssign
(value)
|
|
opOpAssign
(value)
|
|
opOpAssign
(value)
|
|
opOpAssign
(value)
|
|
opOpAssign
(value)
|
|
opOpAssign
(value)
|
|
opUnary
()
|
|
opUnary
()
|
|
setBit
(offset, value)
|
|
setExpire
(value, expire_time)
|
|
setIfNotExist
(value)
|
|
setSubString
(offset, value)
|