trait RedisSerialization extends AnyRef
Encapsulates types that Redis commands may be parameterized with and provides serialization for these types.
- Alphabetic
- By Inheritance
- RedisSerialization
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
type
Field
The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).
-
abstract
type
Key
The type of Redis keys or key patterns used in methods representing Redis commands.
-
abstract
type
Record
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 likeMap[Key, Value]
orSeq[(Key, Value)]
but normallyRecord
is customized to be an ADT - a case class or sealed hierarchy. -
abstract
type
Value
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).
- type WithField[F] = RedisSerialization { ... /* 4 definitions in type refinement */ }
- type WithKey[K] = RedisSerialization { ... /* 4 definitions in type refinement */ }
- type WithRecord[R] = RedisSerialization { ... /* 4 definitions in type refinement */ }
- type WithValue[V] = RedisSerialization { ... /* 4 definitions in type refinement */ }
Abstract Value Members
- abstract def fieldCodec: RedisDataCodec[Field]
- abstract def fieldType[F0](implicit arg0: RedisDataCodec[F0]): WithField[F0]
- abstract def keyCodec: RedisDataCodec[Key]
- abstract def keyType[K0](implicit arg0: RedisDataCodec[K0]): WithKey[K0]
- abstract def recordCodec: RedisRecordCodec[Record]
- abstract def recordType[R0](implicit arg0: RedisRecordCodec[R0]): WithRecord[R0]
- abstract def valueCodec: RedisDataCodec[Value]
- abstract def valueType[V0](implicit arg0: RedisDataCodec[V0]): WithValue[V0]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )