Packages

c

ai.h2o.sparkling.extensions.serde

ChunkAutoBufferWriter

final class ChunkAutoBufferWriter extends Closeable with ChunkSerdeConstants

Linear Supertypes
ChunkSerdeConstants, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChunkAutoBufferWriter
  2. ChunkSerdeConstants
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ChunkAutoBufferWriter(outputStream: OutputStream)

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. val MARKER_NA: Int

    Marker informing us that the data being sent is NA

    Marker informing us that the data being sent is NA

    Definition Classes
    ChunkSerdeConstants
  5. val MARKER_ORIGINAL_VALUE: Int

    Marker informing us that the data are not NA and are stored in the previous byte

    Marker informing us that the data are not NA and are stored in the previous byte

    Definition Classes
    ChunkSerdeConstants
  6. val NUM_MARKER_NEXT_BYTE_FOLLOWS: Byte

    This is used to inform us that another byte is coming.

    This is used to inform us that another byte is coming. That byte can be either MARKER_ORIGINAL_VALUE or MARKER_NA. If it's MARKER_ORIGINAL_VALUE, that means the value sent is in the previous data sent, otherwise the value is NA.

    Definition Classes
    ChunkSerdeConstants
  7. val STR_MARKER_NEXT_BYTE_FOLLOWS: String

    Same as above, but for Strings.

    Same as above, but for Strings. We are using unicode code for CONTROL, which should be very very rare String to send as usual String data.

    Definition Classes
    ChunkSerdeConstants
  8. val VECTOR_IS_DENSE: Boolean
    Definition Classes
    ChunkSerdeConstants
  9. val VECTOR_IS_SPARSE: Boolean

    Meta Information used to specify whether we should expect sparse or dense vector

    Meta Information used to specify whether we should expect sparse or dense vector

    Definition Classes
    ChunkSerdeConstants
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def close(): Unit
    Definition Classes
    ChunkAutoBufferWriter → Closeable → AutoCloseable
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val outputStream: OutputStream
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. def writeBoolean(data: Boolean): Unit
  29. def writeByte(data: Byte): Unit
  30. def writeCategorical(data: Int): Unit
  31. def writeChar(data: Char): Unit
  32. def writeChunk(frameName: String, numRows: Int, chunkId: Int, expectedTypes: Array[ExpectedType], selectedColumnIndices: Array[Int]): Unit
  33. def writeDenseVector(values: Array[Double]): Unit
  34. def writeDouble(data: Double): Unit
  35. def writeDoubleArray(data: Array[Double]): Unit
  36. def writeFloat(data: Float): Unit
  37. def writeInt(data: Int): Unit
  38. def writeIntArray(data: Array[Int]): Unit
  39. def writeLong(data: Long): Unit
  40. def writeNA(expectedType: ExpectedType): Unit
  41. def writeShort(data: Short): Unit
  42. def writeSparseVector(indices: Array[Int], values: Array[Double]): Unit
  43. def writeString(data: String): Unit
  44. def writeTimestamp(timestamp: Timestamp): Unit

Inherited from ChunkSerdeConstants

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped