java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.BodyCompression
public final class BodyCompression
extends com.google.flatbuffers.Table
Optional compression for the memory buffers constituting IPC message
 bodies. Intended for use with RecordBatch but could be used for other
 message types
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class com.google.flatbuffers.Tablebb, bb_pos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddCodec(com.google.flatbuffers.FlatBufferBuilder builder, byte codec) static voidaddMethod(com.google.flatbuffers.FlatBufferBuilder builder, byte method) bytecodec()Compressor library.static intcreateBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder, byte codec, byte method) static intendBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder) static BodyCompressionstatic BodyCompressionbytemethod()Indicates the way the record batch body was compressedstatic voidstartBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder) static voidMethods inherited from class com.google.flatbuffers.Table__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
- 
Constructor Details- 
BodyCompressionpublic BodyCompression()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsBodyCompression
- 
getRootAsBodyCompression
- 
__init
- 
__assign
- 
codecpublic byte codec()Compressor library. For LZ4_FRAME, each compressed buffer must consist of a single frame.
- 
methodpublic byte method()Indicates the way the record batch body was compressed
- 
createBodyCompressionpublic static int createBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder, byte codec, byte method) 
- 
startBodyCompressionpublic static void startBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addCodecpublic static void addCodec(com.google.flatbuffers.FlatBufferBuilder builder, byte codec) 
- 
addMethodpublic static void addMethod(com.google.flatbuffers.FlatBufferBuilder builder, byte method) 
- 
endBodyCompressionpublic static int endBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder) 
 
-