trait StringsApi extends ApiSubset
- Alphabetic
- By Inheritance
- StringsApi
- ApiSubset
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
Field = RedisSerialization.Field
- Definition Classes
- ApiSubset
-
type
Key = RedisSerialization.Key
- Definition Classes
- ApiSubset
-
type
Record = RedisSerialization.Record
- Definition Classes
- ApiSubset
-
abstract
type
Result[A]
The type constructor into which a result of each command is wrapped.
-
type
Value = RedisSerialization.Value
- Definition Classes
- ApiSubset
Abstract Value Members
-
abstract
def
execute[A](command: RedisCommand[A]): Result[A]
- Definition Classes
- ApiSubset
-
abstract
val
serialization: RedisSerialization
- Definition Classes
- ApiSubset
Concrete Value Members
-
def
append(key: Key, value: Value): Result[Int]
Executes APPEND
-
def
bitcount(key: Key, range: commons.OptArg[(Int, Int)] = OptArg.Empty): Result[Long]
Executes BITCOUNT
-
def
bitfield(key: Key, ops: Iterable[BitFieldOp]): Result[Seq[commons.Opt[Long]]]
Executes BITFIELD
-
def
bitfield(key: Key, op: BitFieldOp, ops: BitFieldOp*): Result[Seq[commons.Opt[Long]]]
Executes BITFIELD
-
def
bitfield(key: Key, op: BitFieldOp): Result[commons.Opt[Long]]
Executes BITFIELD
-
def
bitop(multiOperation: MultiBitOp, destkey: Key, keys: Key*): Result[Int]
Executes BITOP
-
def
bitopNot(destkey: Key, key: Key): Result[Int]
Executes BITOP
-
def
bitpos(key: Key, bit: Boolean, start: Int, end: Int): Result[Long]
Executes BITPOS
-
def
bitpos(key: Key, bit: Boolean, start: Int): Result[Long]
Executes BITPOS
-
def
bitpos(key: Key, bit: Boolean): Result[Long]
Executes BITPOS
-
def
decr(key: Key): Result[Long]
Executes DECR
-
def
decrby(key: Key, decrement: Long): Result[Long]
Executes DECRBY
-
def
get(key: Key): Result[commons.Opt[Value]]
Executes GET
-
def
getbit(key: Key, offset: Int): Result[Boolean]
Executes GETBIT
-
def
getrange(key: Key, start: Int = 0, end: Int = -1): Result[Value]
Executes GETRANGE
-
def
getset(key: Key, value: Value): Result[commons.Opt[Value]]
Executes GETSET
-
def
incr(key: Key): Result[Long]
Executes INCR
-
def
incrby(key: Key, increment: Long): Result[Long]
Executes INCRBY
-
def
incrbyfloat(key: Key, increment: Double): Result[Double]
Executes INCRBYFLOAT
-
def
mget(keys: Iterable[Key]): Result[Seq[commons.Opt[Value]]]
Executes MGET or simply returns empty
Seq
whenkeys
is empty, without sending the command to Redis -
def
mget(key: Key, keys: Key*): Result[Seq[commons.Opt[Value]]]
Executes MGET
-
def
mset(keyValues: Iterable[(Key, Value)]): Result[Unit]
Executes MSET or does nothing when
keyValues
is empty, without sending the command to Redis -
def
mset(keyValue: (Key, Value), keyValues: (Key, Value)*): Result[Unit]
Executes MSET
-
def
msetnx(keyValues: Iterable[(Key, Value)]): Result[Boolean]
Executes MSETNX or simply returns
true
whenkeyValues
is empty, without sending the command to Redis -
def
msetnx(keyValue: (Key, Value), keyValues: (Key, Value)*): Result[Boolean]
Executes MSETNX
-
def
psetex(key: Key, milliseconds: Long, value: Value): Result[Unit]
Executes PSETEX
-
def
set(key: Key, value: Value, expiration: commons.OptArg[Expiration] = OptArg.Empty, existence: commons.OptArg[Boolean] = OptArg.Empty): Result[Boolean]
Executes SET
-
def
setbit(key: Key, offset: Long, value: Boolean): Result[Boolean]
Executes SETBIT
-
def
setex(key: Key, seconds: Long, value: Value): Result[Unit]
Executes SETEX
-
def
setnx(key: Key, value: Value): Result[Boolean]
Executes SETNX
-
def
setrange(key: Key, offset: Int, value: Value): Result[Int]
Executes SETRANGE
-
def
strlen(key: Key): Result[Int]
Executes STRLEN