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
Nested Classes -
Field Summary
Fields inherited from class com.google.flatbuffers.Table
bb, bb_pos -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
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)
-