Trait/Object

com.avsystem.commons.redis

RedisSerialization

Related Docs: object RedisSerialization | package redis

Permalink

trait RedisSerialization extends AnyRef

Encapsulates types that Redis commands may be parameterized with and provides serialization for these types.

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

Type Members

  1. abstract type Field

    Permalink

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

  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, Field

  3. abstract type Record

    Permalink

    Type used to represent key-value pair sequences, primarily entries in StreamsApi but also hashes in HashesApi.

    Type used to represent key-value pair sequences, primarily entries in StreamsApi but also hashes in HashesApi. Record might be a "raw" type like Map[Key, Value] or Seq[(Key, Value)] but normally Record is customized to be an ADT - a case class or sealed hierarchy.

  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).

  5. type WithField[F] = RedisSerialization { ... /* 4 definitions in type refinement */ }

    Permalink
  6. type WithKey[K] = RedisSerialization { ... /* 4 definitions in type refinement */ }

    Permalink
  7. type WithRecord[R] = RedisSerialization { ... /* 4 definitions in type refinement */ }

    Permalink
  8. type WithValue[V] = RedisSerialization { ... /* 4 definitions in type refinement */ }

    Permalink

Abstract Value Members

  1. abstract def fieldCodec: RedisDataCodec[Field]

    Permalink
  2. abstract def fieldType[F0](implicit arg0: RedisDataCodec[F0]): WithField[F0]

    Permalink
  3. abstract def keyCodec: RedisDataCodec[Key]

    Permalink
  4. abstract def keyType[K0](implicit arg0: RedisDataCodec[K0]): WithKey[K0]

    Permalink
  5. abstract def recordCodec: RedisRecordCodec[Record]

    Permalink
  6. abstract def recordType[R0](implicit arg0: RedisRecordCodec[R0]): WithRecord[R0]

    Permalink
  7. abstract def valueCodec: RedisDataCodec[Value]

    Permalink
  8. abstract def valueType[V0](implicit arg0: RedisDataCodec[V0]): WithValue[V0]

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped