Trait

com.avsystem.commons.redis.commands

StringsApi

Related Doc: package commands

Permalink

trait StringsApi extends ApiSubset

Linear Supertypes
ApiSubset, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringsApi
  2. ApiSubset
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type HashKey

    Permalink

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    Definition Classes
    ApiSubset
  2. abstract type Key

    Permalink

    The type of Redis keys or key patterns used in methods representing Redis commands.

    The type of Redis keys or key patterns used in methods representing Redis commands. For example, if Key = String then get returns Result[Opt[String]]. This type is used only for toplevel Redis keys, hash keys have their own type, HashKey.

    Definition Classes
    ApiSubset
  3. abstract type Result[A]

    Permalink

    The type constructor into which a result of each command is wrapped.

    The type constructor into which a result of each command is wrapped. For example if Result is Future, then incr returns Future[Long].

    Definition Classes
    ApiSubset
  4. abstract type Value

    Permalink

    The type of Redis values used in methods representing Redis commands.

    The type of Redis values used in methods representing Redis commands. "Value" is the data that might be stored directly under a Redis key (e.g. using set) but also a value of hash field, list element, set member, sorted set member, geo set member or element inserted into hyper-log-log structure. There are no separate types specified for every of those use cases because only one of them can be used in a single command (for example, there is no Redis command that works on both list elements and set members at the same time).

    Definition Classes
    ApiSubset

Abstract Value Members

  1. abstract def execute[A](command: RedisCommand[A]): Result[A]

    Permalink
    Definition Classes
    ApiSubset
  2. implicit abstract def hashKeyCodec: RedisDataCodec[HashKey]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  3. implicit abstract def keyCodec: RedisDataCodec[Key]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  4. implicit abstract def valueCodec: RedisDataCodec[Value]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def append(key: Key, value: Value): Result[Int]

    Permalink

    Executes APPEND

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bitcount(key: Key, range: commons.OptArg[(Int, Int)] = OptArg.Empty): Result[Long]

    Permalink

    Executes BITCOUNT

  7. def bitfield(key: Key, ops: Iterable[BitFieldOp]): Result[Seq[commons.Opt[Long]]]

    Permalink

    Executes BITFIELD

  8. def bitfield(key: Key, op: BitFieldOp, ops: BitFieldOp*): Result[Seq[commons.Opt[Long]]]

    Permalink

    Executes BITFIELD

  9. def bitfield(key: Key, op: BitFieldOp): Result[commons.Opt[Long]]

    Permalink

    Executes BITFIELD

  10. def bitop(multiOperation: MultiBitOp, destkey: Key, keys: Key*): Result[Int]

    Permalink

    Executes BITOP

  11. def bitopNot(destkey: Key, key: Key): Result[Int]

    Permalink

    Executes BITOP

  12. def bitpos(key: Key, bit: Boolean, start: Int, end: Int): Result[Long]

    Permalink

    Executes BITPOS

  13. def bitpos(key: Key, bit: Boolean, start: Int): Result[Long]

    Permalink

    Executes BITPOS

  14. def bitpos(key: Key, bit: Boolean): Result[Long]

    Permalink

    Executes BITPOS

  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def decr(key: Key): Result[Long]

    Permalink

    Executes DECR

  17. def decrby(key: Key, decrement: Long): Result[Long]

    Permalink

    Executes DECRBY

  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def get(key: Key): Result[commons.Opt[Value]]

    Permalink

    Executes GET

  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getbit(key: Key, offset: Int): Result[Boolean]

    Permalink

    Executes GETBIT

  24. def getrange(key: Key, start: Int = 0, end: Int = 1): Result[Value]

    Permalink

    Executes GETRANGE

  25. def getset(key: Key, value: Value): Result[commons.Opt[Value]]

    Permalink

    Executes GETSET

  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. implicit def headOps[T](head: T): HeadOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  28. def incr(key: Key): Result[Long]

    Permalink

    Executes INCR

  29. def incrby(key: Key, increment: Long): Result[Long]

    Permalink

    Executes INCRBY

  30. def incrbyfloat(key: Key, increment: Double): Result[Double]

    Permalink

    Executes INCRBYFLOAT

  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. implicit def iterableTailOps[T](tail: Iterable[T]): IterableTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  33. implicit def iteratorTailOps[T](tail: Iterator[T]): IteratorTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  34. def mget(keys: Iterable[Key]): Result[Seq[commons.Opt[Value]]]

    Permalink

    Executes MGET or simply returns empty Seq when keys is empty, without sending the command to Redis

  35. def mget(key: Key, keys: Key*): Result[Seq[commons.Opt[Value]]]

    Permalink

    Executes MGET

  36. def mset(keyValues: Iterable[(Key, Value)]): Result[Unit]

    Permalink

    Executes MSET or does nothing when keyValues is empty, without sending the command to Redis

  37. def mset(keyValue: (Key, Value), keyValues: (Key, Value)*): Result[Unit]

    Permalink

    Executes MSET

  38. def msetnx(keyValues: Iterable[(Key, Value)]): Result[Boolean]

    Permalink

    Executes MSETNX or simply returns true when keyValues is empty, without sending the command to Redis

  39. def msetnx(keyValue: (Key, Value), keyValues: (Key, Value)*): Result[Boolean]

    Permalink

    Executes MSETNX

  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. def psetex(key: Key, milliseconds: Long, value: Value): Result[Unit]

    Permalink

    Executes PSETEX

  44. def set(key: Key, value: Value, expiration: commons.OptArg[Expiration] = OptArg.Empty, existence: commons.OptArg[Boolean] = OptArg.Empty): Result[Boolean]

    Permalink

    Executes SET

  45. def setbit(key: Key, offset: Long, value: Boolean): Result[Boolean]

    Permalink

    Executes SETBIT

  46. def setex(key: Key, seconds: Long, value: Value): Result[Unit]

    Permalink

    Executes SETEX

  47. def setnx(key: Key, value: Value): Result[Boolean]

    Permalink

    Executes SETNX

  48. def setrange(key: Key, offset: Int, value: Value): Result[Int]

    Permalink

    Executes SETRANGE

  49. def strlen(key: Key): Result[Int]

    Permalink

    Executes STRLEN

  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped