Trait

fm.serializer

FieldInput

Related Doc: package serializer

Permalink

trait FieldInput extends NestedInput

FIELD Input

This the extra methods for reading FIELD input along with the NestedInput methods

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

Abstract Value Members

  1. abstract def allowStringMap: Boolean

    Permalink
    Definition Classes
    FieldInputNestedInput
  2. abstract def lastFieldName(): String

    Permalink

    The last field name that was read (if any)

  3. abstract def lastFieldNumber(): Int

    Permalink

    The last field number that was read (if any)

  4. abstract def nextValueIsNull: Boolean

    Permalink

    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.

    Note: If the next value is null then this method should consume that input

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

    Permalink

    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

  6. abstract def readFieldNumber(nameToNumMap: Map[String, Int]): Int

    Permalink

    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

  7. abstract def readNestedBigDecimal(): BigDecimal

    Permalink
    Definition Classes
    NestedInput
  8. abstract def readNestedBigInteger(): BigInteger

    Permalink
    Definition Classes
    NestedInput
  9. abstract def readNestedBool(): Boolean

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

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

    Permalink
    Definition Classes
    NestedInput
  12. abstract def readNestedDouble(): Double

    Permalink
    Definition Classes
    NestedInput
  13. abstract def readNestedFixedInt(): Int

    Permalink
    Definition Classes
    NestedInput
  14. abstract def readNestedFixedLong(): Long

    Permalink
    Definition Classes
    NestedInput
  15. abstract def readNestedFloat(): Float

    Permalink
    Definition Classes
    NestedInput
  16. abstract def readNestedInt(): Int

    Permalink
    Definition Classes
    NestedInput
  17. abstract def readNestedLong(): Long

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

    Permalink
    Definition Classes
    NestedInput
  19. abstract def readNestedSignedInt(): Int

    Permalink
    Definition Classes
    NestedInput
  20. abstract def readNestedSignedLong(): Long

    Permalink
    Definition Classes
    NestedInput
  21. abstract def readNestedString(): String

    Permalink
    Definition Classes
    NestedInput
  22. abstract def readNestedUnsignedInt(): Int

    Permalink
    Definition Classes
    NestedInput
  23. abstract def readNestedUnsignedLong(): Long

    Permalink
    Definition Classes
    NestedInput
  24. abstract def skipUnknownField(): Unit

    Permalink

    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.

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
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def reportUnsetField[T](number: Int, name: String, hasUserDefinedDefaultValue: Boolean, deserializer: Deserializer[T]): Unit

    Permalink

    This is for reporting that fields for an object were not read and whether or not they had a user-defined default value.

  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(arg0: Long, arg1: Int): Unit

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

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

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from NestedInput

Inherited from AnyRef

Inherited from Any

Ungrouped