Packages

class RedisDataInput extends InputAndSimpleInput

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisDataInput
  2. InputAndSimpleInput
  3. SimpleInput
  4. Input
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisDataInput(bytes: ByteString)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def legacyOptionEncoding: Boolean

    This ugly workaround has been introduced when standard Option encoding changed from zero-or-one element list encoding to unwrapped-or-null encoding which effectively disallowed serializing null and Some(null).

    This ugly workaround has been introduced when standard Option encoding changed from zero-or-one element list encoding to unwrapped-or-null encoding which effectively disallowed serializing null and Some(null). If some Input implementation still wants to use the list encoding, it may do it by overriding this method and returning true.

    Definition Classes
    Input
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def readBigDecimal(): BigDecimal
    Definition Classes
    RedisDataInputSimpleInput
  17. def readBigInt(): BigInt
    Definition Classes
    RedisDataInputSimpleInput
  18. def readBinary(): Array[Byte]
    Definition Classes
    RedisDataInputSimpleInput
  19. def readBoolean(): Boolean
    Definition Classes
    RedisDataInputSimpleInput
  20. def readByte(): Byte
    Definition Classes
    SimpleInput
  21. def readChar(): Char
    Definition Classes
    SimpleInput
  22. def readCustom[T](typeMarker: TypeMarker[T]): commons.Opt[T]

    Attempts to read some arbitrary custom "native" value that this input may or may not support.

    Attempts to read some arbitrary custom "native" value that this input may or may not support. The custom type is identified by an instance of TypeMarker which is usually an object (e.g. companion object of the custom T type itself). This way Input and Output implementations may support other native types than the ones supported by default by Input and Output interfaces.

    Codecs may use this method to optimize encoded format in case it it possible with particular Input implementation. GenCodec may generally assume that if the data was written by a corresponding Output which also support this custom native type then readCustom should return non-empty value.

    Opt.Empty returned by this method indicates that this input does not support this particular type. If it supports it but there was some error reading it then a ReadFailure should be thrown instead of returning Opt.Empty.

    Definition Classes
    Input
  23. def readDouble(): Double
    Definition Classes
    RedisDataInputSimpleInput
  24. def readFloat(): Float
    Definition Classes
    SimpleInput
  25. def readInt(): Int
    Definition Classes
    RedisDataInputSimpleInput
  26. def readList(): ListInput
    Definition Classes
    RedisDataInputInput
  27. def readLong(): Long
    Definition Classes
    RedisDataInputSimpleInput
  28. def readMetadata[T](metadata: InputMetadata[T]): commons.Opt[T]

    Attempts to read some arbitrary "metadata" about this input instance.

    Attempts to read some arbitrary "metadata" about this input instance. Metadata is identified by InputMetadata which is usually an object (e.g. companion object of metadata value type T). An example of InputMetadata is JsonType supported by JsonStringInput.

    Codecs may use this method to optimize encoded format in case it it possible with particular Input implementation. GenCodec may generally assume that if the data was written by a corresponding Output that preserves particular metadata type (which may be determined by Output.keepsMetadata()) then readMetadata will return a non-empty value.

    Opt.Empty may be returned form this method ONLY if this Input implementation does not support this metadata type AT ALL. Any errors should be signaled by throwing ReadFailure.

    Definition Classes
    Input
  29. def readNull(): Boolean

    Attempts to read null value from an Input.

    Attempts to read null value from an Input. Returning true means that input instance contained a null value. Its state should then be changed so that input can be considered "consumed" (no other reads are possible on this instance). Returning false means that the input contains something else than a null value. Its state must not change in this situation and it must be possible to call some other read method on it.

    Definition Classes
    RedisDataInputInput
  30. def readObject(): ObjectInput
    Definition Classes
    RedisDataInputInput
  31. def readShort(): Short
    Definition Classes
    SimpleInput
  32. final def readSimple(): SimpleInput
    Definition Classes
    InputAndSimpleInputInput
  33. def readString(): String
    Definition Classes
    RedisDataInputSimpleInput
  34. def readTimestamp(): Long
    Definition Classes
    SimpleInput
  35. def skip(): Unit

    Ignores this input and skips its contents internally, if necessary

    Ignores this input and skips its contents internally, if necessary

    Definition Classes
    RedisDataInputInput
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from InputAndSimpleInput

Inherited from SimpleInput

Inherited from Input

Inherited from AnyRef

Inherited from Any

Ungrouped