java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.DictionaryBatch
public final class DictionaryBatch
extends com.google.flatbuffers.Table
For sending dictionary encoding information. Any Field can be
 dictionary-encoded, but in this case none of its children may be
 dictionary-encoded.
 There is one vector / column per dictionary, but that vector / column
 may be spread across multiple dictionary batches by using the isDelta
 flag
- 
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 voidaddData(com.google.flatbuffers.FlatBufferBuilder builder, int dataOffset) static voidaddId(com.google.flatbuffers.FlatBufferBuilder builder, long id) static voidaddIsDelta(com.google.flatbuffers.FlatBufferBuilder builder, boolean isDelta) static intcreateDictionaryBatch(com.google.flatbuffers.FlatBufferBuilder builder, long id, int dataOffset, boolean isDelta) data()data(RecordBatch obj) static intendDictionaryBatch(com.google.flatbuffers.FlatBufferBuilder builder) static DictionaryBatchstatic DictionaryBatchlongid()booleanisDelta()If isDelta is true the values in the dictionary are to be appended to a dictionary with the indicated id.static voidstartDictionaryBatch(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- 
DictionaryBatchpublic DictionaryBatch()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsDictionaryBatch
- 
getRootAsDictionaryBatch
- 
__init
- 
__assign
- 
idpublic long id()
- 
data
- 
data
- 
isDeltapublic boolean isDelta()If isDelta is true the values in the dictionary are to be appended to a dictionary with the indicated id. If isDelta is false this dictionary should replace the existing dictionary.
- 
createDictionaryBatchpublic static int createDictionaryBatch(com.google.flatbuffers.FlatBufferBuilder builder, long id, int dataOffset, boolean isDelta) 
- 
startDictionaryBatchpublic static void startDictionaryBatch(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addIdpublic static void addId(com.google.flatbuffers.FlatBufferBuilder builder, long id) 
- 
addDatapublic static void addData(com.google.flatbuffers.FlatBufferBuilder builder, int dataOffset) 
- 
addIsDeltapublic static void addIsDelta(com.google.flatbuffers.FlatBufferBuilder builder, boolean isDelta) 
- 
endDictionaryBatchpublic static int endDictionaryBatch(com.google.flatbuffers.FlatBufferBuilder builder) 
 
-