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 Summary
-
Field Summary
Fields inherited from class com.google.flatbuffers.Table
bb, bb_pos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__assign
(int _i, ByteBuffer _bb) void
__init
(int _i, ByteBuffer _bb) static void
addCodec
(com.google.flatbuffers.FlatBufferBuilder builder, byte codec) static void
addMethod
(com.google.flatbuffers.FlatBufferBuilder builder, byte method) byte
codec()
Compressor library.static int
createBodyCompression
(com.google.flatbuffers.FlatBufferBuilder builder, byte codec, byte method) static int
endBodyCompression
(com.google.flatbuffers.FlatBufferBuilder builder) static BodyCompression
static BodyCompression
byte
method()
Indicates the way the record batch body was compressedstatic void
startBodyCompression
(com.google.flatbuffers.FlatBufferBuilder builder) static void
Methods 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
-
BodyCompression
public BodyCompression()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsBodyCompression
-
getRootAsBodyCompression
-
__init
-
__assign
-
codec
public byte codec()Compressor library. For LZ4_FRAME, each compressed buffer must consist of a single frame. -
method
public byte method()Indicates the way the record batch body was compressed -
createBodyCompression
public static int createBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder, byte codec, byte method) -
startBodyCompression
public static void startBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder) -
addCodec
public static void addCodec(com.google.flatbuffers.FlatBufferBuilder builder, byte codec) -
addMethod
public static void addMethod(com.google.flatbuffers.FlatBufferBuilder builder, byte method) -
endBodyCompression
public static int endBodyCompression(com.google.flatbuffers.FlatBufferBuilder builder)
-