final class ChunkAutoBufferWriter extends Closeable with ChunkSerdeConstants
- Alphabetic
- By Inheritance
- ChunkAutoBufferWriter
- ChunkSerdeConstants
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ChunkAutoBufferWriter(outputStream: OutputStream)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
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
-
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_VALUEorMARKER_NA. If it'sMARKER_ORIGINAL_VALUE, that means the value sent is in the previous data sent, otherwise the value is NA.- Definition Classes
- ChunkSerdeConstants
-
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
-
val
VECTOR_IS_DENSE: Boolean
- Definition Classes
- ChunkSerdeConstants
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- ChunkAutoBufferWriter → Closeable → AutoCloseable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outputStream: OutputStream
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def writeBoolean(data: Boolean): Unit
- def writeByte(data: Byte): Unit
- def writeCategorical(data: Int): Unit
- def writeChar(data: Char): Unit
- def writeChunk(frameName: String, numRows: Int, chunkId: Int, expectedTypes: Array[ExpectedType], selectedColumnIndices: Array[Int]): Unit
- def writeDenseVector(values: Array[Double]): Unit
- def writeDouble(data: Double): Unit
- def writeDoubleArray(data: Array[Double]): Unit
- def writeFloat(data: Float): Unit
- def writeInt(data: Int): Unit
- def writeIntArray(data: Array[Int]): Unit
- def writeLong(data: Long): Unit
- def writeNA(expectedType: ExpectedType): Unit
- def writeShort(data: Short): Unit
- def writeSparseVector(indices: Array[Int], values: Array[Double]): Unit
- def writeString(data: String): Unit
- def writeTimestamp(timestamp: Timestamp): Unit