trait Output extends Any

Represents an abstract sink to which a value may be serialized (written). An Output instance should be assumed to be stateful. After calling any of the write methods, it MUST NOT be reused. This means that Output instance can be used only to write a single value. However, if the value to write is complex, one can use writeList/writeSet or writeObject/writeMap.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Output
  2. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]
    Definition Classes
    Any
  2. abstract def writeBigDecimal(bigDecimal: BigDecimal): Unit
  3. abstract def writeBigInt(bigInt: BigInt): Unit
  4. abstract def writeBinary(binary: Array[Byte]): Unit
  5. abstract def writeBoolean(boolean: Boolean): Unit
  6. abstract def writeDouble(double: Double): Unit
  7. abstract def writeInt(int: Int): Unit
  8. abstract def writeList(): ListOutput
  9. abstract def writeLong(long: Long): Unit
  10. abstract def writeNull(): Unit
  11. abstract def writeObject(): ObjectOutput
  12. abstract def writeString(str: String): Unit

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  6. def hashCode(): Int
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. 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 Output implementation still wants to use the list encoding, it may do it by overriding this method and returning true.

  9. def toString(): String
    Definition Classes
    Any
  10. def writeByte(byte: Byte): Unit
  11. def writeChar(char: Char): Unit
  12. def writeFloat(float: Float): Unit
  13. def writeShort(short: Short): Unit
  14. def writeTimestamp(millis: Long): Unit
  15. def writeUnit(): Unit

Inherited from Any

Ungrouped