java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.DictionaryEncoding
public final class DictionaryEncoding
extends com.google.flatbuffers.Table
- 
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 voidaddDictionaryKind(com.google.flatbuffers.FlatBufferBuilder builder, short dictionaryKind) static voidaddId(com.google.flatbuffers.FlatBufferBuilder builder, long id) static voidaddIndexType(com.google.flatbuffers.FlatBufferBuilder builder, int indexTypeOffset) static voidaddIsOrdered(com.google.flatbuffers.FlatBufferBuilder builder, boolean isOrdered) static intcreateDictionaryEncoding(com.google.flatbuffers.FlatBufferBuilder builder, long id, int indexTypeOffset, boolean isOrdered, short dictionaryKind) shortstatic intendDictionaryEncoding(com.google.flatbuffers.FlatBufferBuilder builder) static DictionaryEncodingstatic DictionaryEncodinglongid()The known dictionary id in the application where this data is used.The dictionary indices are constrained to be non-negative integers.booleanBy default, dictionaries are not ordered, or the order does not have semantic meaning.static voidstartDictionaryEncoding(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- 
DictionaryEncodingpublic DictionaryEncoding()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsDictionaryEncoding
- 
getRootAsDictionaryEncodingpublic static DictionaryEncoding getRootAsDictionaryEncoding(ByteBuffer _bb, DictionaryEncoding obj) 
- 
__init
- 
__assign
- 
idpublic long id()The known dictionary id in the application where this data is used. In the file or streaming formats, the dictionary ids are found in the DictionaryBatch messages
- 
indexTypeThe dictionary indices are constrained to be non-negative integers. If this field is null, the indices must be signed int32. To maximize cross-language compatibility and performance, implementations are recommended to prefer signed integer types over unsigned integer types and to avoid uint64 indices unless they are required by an application.
- 
indexType
- 
isOrderedpublic boolean isOrdered()By default, dictionaries are not ordered, or the order does not have semantic meaning. In some statistical, applications, dictionary-encoding is used to represent ordered categorical data, and we provide a way to preserve that metadata here
- 
dictionaryKindpublic short dictionaryKind()
- 
createDictionaryEncodingpublic static int createDictionaryEncoding(com.google.flatbuffers.FlatBufferBuilder builder, long id, int indexTypeOffset, boolean isOrdered, short dictionaryKind) 
- 
startDictionaryEncodingpublic static void startDictionaryEncoding(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addIdpublic static void addId(com.google.flatbuffers.FlatBufferBuilder builder, long id) 
- 
addIndexTypepublic static void addIndexType(com.google.flatbuffers.FlatBufferBuilder builder, int indexTypeOffset) 
- 
addIsOrderedpublic static void addIsOrdered(com.google.flatbuffers.FlatBufferBuilder builder, boolean isOrdered) 
- 
addDictionaryKindpublic static void addDictionaryKind(com.google.flatbuffers.FlatBufferBuilder builder, short dictionaryKind) 
- 
endDictionaryEncodingpublic static int endDictionaryEncoding(com.google.flatbuffers.FlatBufferBuilder builder) 
 
-