Class/Object

fm.serializer.bson

BSONInput

Related Docs: object BSONInput | package bson

Permalink

final class BSONInput extends Input

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONInput
  2. Input
  3. RawInput
  4. CollectionInput
  5. FieldInput
  6. NestedInput
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BSONInput(reader: BsonReader)

    Permalink

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. def allowStringMap: Boolean

    Permalink
    Definition Classes
    BSONInputRawInputFieldInputNestedInput
  5. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def hasAnotherElement: Boolean

    Permalink

    Is there another element to read in the collection?

    Is there another element to read in the collection?

    Definition Classes
    BSONInputCollectionInput
  11. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  13. final def lastFieldName(): String

    Permalink

    The last field name that was read (if any)

    The last field name that was read (if any)

    Definition Classes
    BSONInputFieldInput
  14. final def lastFieldNumber(): Int

    Permalink

    The last field number that was read (if any)

    The last field number that was read (if any)

    Definition Classes
    BSONInputFieldInput
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. 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
    BSONInputRawInputNestedInput
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. 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

    Definition Classes
    BSONInputFieldInput
  20. 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

    Definition Classes
    BSONInputFieldInput
  21. def readNestedBigDecimal(): BigDecimal

    Permalink
    Definition Classes
    BSONInputNestedInput
  22. def readNestedBigInteger(): BigInteger

    Permalink
    Definition Classes
    BSONInputNestedInput
  23. def readNestedBool(): Boolean

    Permalink
    Definition Classes
    BSONInputNestedInput
  24. def readNestedBsonBinary(): BsonBinary

    Permalink
  25. def readNestedByteArray(): Array[Byte]

    Permalink
    Definition Classes
    BSONInputNestedInput
  26. def readNestedCollection[T](f: (CollectionInput) ⇒ T): T

    Permalink
    Definition Classes
    BSONInputNestedInput
  27. def readNestedDateTime(): Long

    Permalink
  28. def readNestedDouble(): Double

    Permalink
    Definition Classes
    BSONInputNestedInput
  29. def readNestedFixedInt(): Int

    Permalink
    Definition Classes
    BSONInputNestedInput
  30. def readNestedFixedLong(): Long

    Permalink
    Definition Classes
    BSONInputNestedInput
  31. def readNestedFloat(): Float

    Permalink
    Definition Classes
    BSONInputNestedInput
  32. def readNestedInt(): Int

    Permalink
    Definition Classes
    BSONInputNestedInput
  33. def readNestedLong(): Long

    Permalink
    Definition Classes
    BSONInputNestedInput
  34. def readNestedMaxKey(): MaxKey

    Permalink
  35. def readNestedMinKey(): MinKey

    Permalink
  36. def readNestedObject[T](f: (FieldInput) ⇒ T): T

    Permalink
    Definition Classes
    BSONInputNestedInput
  37. def readNestedObjectId(): ObjectId

    Permalink
  38. def readNestedSignedInt(): Int

    Permalink
    Definition Classes
    BSONInputNestedInput
  39. def readNestedSignedLong(): Long

    Permalink
    Definition Classes
    BSONInputNestedInput
  40. def readNestedString(): String

    Permalink
    Definition Classes
    BSONInputNestedInput
  41. def readNestedUnsignedInt(): Int

    Permalink
    Definition Classes
    BSONInputNestedInput
  42. def readNestedUnsignedLong(): Long

    Permalink
    Definition Classes
    BSONInputNestedInput
  43. def readRawBigDecimal(): BigDecimal

    Permalink
    Definition Classes
    BSONInputRawInput
  44. def readRawBigInteger(): BigInteger

    Permalink
    Definition Classes
    BSONInputRawInput
  45. def readRawBool(): Boolean

    Permalink
    Definition Classes
    BSONInputRawInput
  46. def readRawBsonBinary(): BsonBinary

    Permalink
  47. def readRawByteArray(): Array[Byte]

    Permalink
    Definition Classes
    BSONInputRawInput
  48. def readRawCollection[T](f: (CollectionInput) ⇒ T): T

    Permalink
    Definition Classes
    BSONInputRawInput
  49. def readRawDateTime(): Long

    Permalink
  50. def readRawDouble(): Double

    Permalink
    Definition Classes
    BSONInputRawInput
  51. def readRawFixedInt(): Int

    Permalink
    Definition Classes
    BSONInputRawInput
  52. def readRawFixedLong(): Long

    Permalink
    Definition Classes
    BSONInputRawInput
  53. def readRawFloat(): Float

    Permalink
    Definition Classes
    BSONInputRawInput
  54. def readRawInt(): Int

    Permalink
    Definition Classes
    BSONInputRawInput
  55. def readRawLong(): Long

    Permalink
    Definition Classes
    BSONInputRawInput
  56. def readRawMaxKey(): MaxKey

    Permalink
  57. def readRawMinKey(): MinKey

    Permalink
  58. def readRawObject[T](f: (FieldInput) ⇒ T): T

    Permalink
    Definition Classes
    BSONInputRawInput
  59. def readRawObjectId(): ObjectId

    Permalink
  60. def readRawSignedInt(): Int

    Permalink
    Definition Classes
    BSONInputRawInput
  61. def readRawSignedLong(): Long

    Permalink
    Definition Classes
    BSONInputRawInput
  62. def readRawString(): String

    Permalink
    Definition Classes
    BSONInputRawInput
  63. def readRawUnsignedInt(): Int

    Permalink
    Definition Classes
    BSONInputRawInput
  64. def readRawUnsignedLong(): Long

    Permalink
    Definition Classes
    BSONInputRawInput
  65. 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.

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

    number

    The field number

    name

    The field name. Note: This can be null.

    hasUserDefinedDefaultValue

    Whether or not there was a user defined default value (e.g. val foo: Int = 123)

    deserializer

    The deserializer for the field. Note: This can be null.

    Definition Classes
    FieldInput
  66. 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.

    Definition Classes
    BSONInputFieldInput
  67. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  69. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. 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 Input

Inherited from RawInput

Inherited from CollectionInput

Inherited from FieldInput

Inherited from NestedInput

Inherited from AnyRef

Inherited from Any

Ungrouped