fm.serializer

Input

trait Input extends FieldInput with CollectionInput with NestedInput with RawInput

Generic Input trait to be implemented by Serialization Implementations

See the docs for Output for the distinction between RAW, NESTED, and FIELD Input/Output. The only difference for Input is that there aren't readNestedXXX() methods. Instead the way fields for objects are read is:

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Input
  2. RawInput
  3. CollectionInput
  4. FieldInput
  5. NestedInput
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def allowStringMap: Boolean

    Definition Classes
    RawInput
  2. abstract def hasAnotherElement: Boolean

    Is there another element to read in the collection?

    Is there another element to read in the collection?

    Definition Classes
    CollectionInput
  3. abstract def nextValueIsNull: Boolean

    Returns true if the next value is known to be null otherwise false if the value is not null or is unknown.

    Returns true if the next value is known to be null otherwise false if the value is not null or is unknown. This means that even if the next value ends up being null this can return false.

    Definition Classes
    NestedInput
  4. abstract def readFieldName(): String

    If dynamic string maps are supported then this should be implemented otherwise this can just throw an exception.

    If dynamic string maps are supported then this should be implemented otherwise this can just throw an exception.

    null should be returns on the end of an object/message

    Definition Classes
    FieldInput
  5. abstract def readFieldNumber(nameToNumMap: Map[String, Int]): Int

    This is for reading fields of an object.

    This is for reading fields of an object.

    Return the field number for the next readable field. Returns 0 if we've reached the end of the object/message

    Definition Classes
    FieldInput
  6. abstract def readNestedBool(): Boolean

    Definition Classes
    NestedInput
  7. abstract def readNestedByteArray(): Array[Byte]

    Definition Classes
    NestedInput
  8. abstract def readNestedCollection[T](f: (CollectionInput) ⇒ T): T

    Definition Classes
    NestedInput
  9. abstract def readNestedDouble(): Double

    Definition Classes
    NestedInput
  10. abstract def readNestedFixedInt(): Int

    Definition Classes
    NestedInput
  11. abstract def readNestedFixedLong(): Long

    Definition Classes
    NestedInput
  12. abstract def readNestedFloat(): Float

    Definition Classes
    NestedInput
  13. abstract def readNestedInt(): Int

    Definition Classes
    NestedInput
  14. abstract def readNestedLong(): Long

    Definition Classes
    NestedInput
  15. abstract def readNestedObject[T](f: (FieldInput) ⇒ T): T

    Definition Classes
    NestedInput
  16. abstract def readNestedSignedInt(): Int

    Definition Classes
    NestedInput
  17. abstract def readNestedSignedLong(): Long

    Definition Classes
    NestedInput
  18. abstract def readNestedString(): String

    Definition Classes
    NestedInput
  19. abstract def readNestedUnsignedInt(): Int

    Definition Classes
    NestedInput
  20. abstract def readNestedUnsignedLong(): Long

    Definition Classes
    NestedInput
  21. abstract def readRawBool(): Boolean

    Definition Classes
    RawInput
  22. abstract def readRawByteArray(): Array[Byte]

    Definition Classes
    RawInput
  23. abstract def readRawCollection[T](f: (CollectionInput) ⇒ T): T

    Definition Classes
    RawInput
  24. abstract def readRawDouble(): Double

    Definition Classes
    RawInput
  25. abstract def readRawFixedInt(): Int

    Definition Classes
    RawInput
  26. abstract def readRawFixedLong(): Long

    Definition Classes
    RawInput
  27. abstract def readRawFloat(): Float

    Definition Classes
    RawInput
  28. abstract def readRawInt(): Int

    Definition Classes
    RawInput
  29. abstract def readRawLong(): Long

    Definition Classes
    RawInput
  30. abstract def readRawObject[T](f: (FieldInput) ⇒ T): T

    Definition Classes
    RawInput
  31. abstract def readRawSignedInt(): Int

    Definition Classes
    RawInput
  32. abstract def readRawSignedLong(): Long

    Definition Classes
    RawInput
  33. abstract def readRawString(): String

    Definition Classes
    RawInput
  34. abstract def readRawUnsignedInt(): Int

    Definition Classes
    RawInput
  35. abstract def readRawUnsignedLong(): Long

    Definition Classes
    RawInput
  36. abstract def skipUnknownField(): Unit

    Skip an unknown field value.

    Skip an unknown field value.

    If after calling readFieldNumber(...) we don't know how to handle the resulting field number then this method can be called to skip the value of the field after which we can call readFieldNumber(...) again.

    Definition Classes
    FieldInput

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RawInput

Inherited from CollectionInput

Inherited from FieldInput

Inherited from NestedInput

Inherited from AnyRef

Inherited from Any

Ungrouped