java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.Map
public final class Map
extends com.google.flatbuffers.Table
A Map is a logical nested type that is represented as
 List<entries: Struct<key: K, value: V>>
 In this layout, the keys and values are each respectively contiguous. We do
 not constrain the key and value types, so the application is responsible
 for ensuring that the keys are hashable and unique. Whether the keys are sorted
 may be set in the metadata for this field.
 In a field with Map type, the field has a child Struct field, which then
 has two children: key type and the second the value type. The names of the
 child fields may be respectively "entries", "key", and "value", but this is
 not enforced.
 Map
 ```text
   - child[0] entries: Struct
     - child[0] key: K
     - child[1] value: V
 ```
 Neither the "entries" field nor the "key" field may be nullable.
 The metadata is structured so that Arrow systems without special handling
 for Map can make Map an alias for List. The "layout" attribute for the Map
 field must have the same contents as a List.
- 
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 voidaddKeysSorted(com.google.flatbuffers.FlatBufferBuilder builder, boolean keysSorted) static intcreateMap(com.google.flatbuffers.FlatBufferBuilder builder, boolean keysSorted) static intendMap(com.google.flatbuffers.FlatBufferBuilder builder) static MapgetRootAsMap(ByteBuffer _bb) static MapgetRootAsMap(ByteBuffer _bb, Map obj) booleanSet to true if the keys within each value are sortedstatic voidstartMap(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- 
Mappublic Map()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsMap
- 
getRootAsMap
- 
__init
- 
__assign
- 
keysSortedpublic boolean keysSorted()Set to true if the keys within each value are sorted
- 
createMappublic static int createMap(com.google.flatbuffers.FlatBufferBuilder builder, boolean keysSorted) 
- 
startMappublic static void startMap(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addKeysSortedpublic static void addKeysSorted(com.google.flatbuffers.FlatBufferBuilder builder, boolean keysSorted) 
- 
endMappublic static int endMap(com.google.flatbuffers.FlatBufferBuilder builder) 
 
-