public final class Field
extends com.google.flatbuffers.Table
Modifier and Type | Class and Description |
---|---|
static class |
Field.Vector |
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
Field |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static void |
addChildren(com.google.flatbuffers.FlatBufferBuilder builder,
int childrenOffset) |
static void |
addCustomMetadata(com.google.flatbuffers.FlatBufferBuilder builder,
int customMetadataOffset) |
static void |
addDictionary(com.google.flatbuffers.FlatBufferBuilder builder,
int dictionaryOffset) |
static void |
addName(com.google.flatbuffers.FlatBufferBuilder builder,
int nameOffset) |
static void |
addNullable(com.google.flatbuffers.FlatBufferBuilder builder,
boolean nullable) |
static void |
addType(com.google.flatbuffers.FlatBufferBuilder builder,
int typeOffset) |
static void |
addTypeType(com.google.flatbuffers.FlatBufferBuilder builder,
byte typeType) |
Field |
children(Field obj,
int j) |
Field |
children(int j)
children apply only to nested data types like Struct, List and Union.
|
int |
childrenLength() |
Field.Vector |
childrenVector() |
Field.Vector |
childrenVector(Field.Vector obj) |
static int |
createChildrenVector(com.google.flatbuffers.FlatBufferBuilder builder,
int[] data) |
static int |
createCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder,
int[] data) |
static int |
createField(com.google.flatbuffers.FlatBufferBuilder builder,
int nameOffset,
boolean nullable,
byte type_type,
int typeOffset,
int dictionaryOffset,
int childrenOffset,
int custom_metadataOffset) |
KeyValue |
customMetadata(int j)
User-defined metadata
|
KeyValue |
customMetadata(KeyValue obj,
int j) |
int |
customMetadataLength() |
KeyValue.Vector |
customMetadataVector() |
KeyValue.Vector |
customMetadataVector(KeyValue.Vector obj) |
DictionaryEncoding |
dictionary()
Present only if the field is dictionary encoded.
|
DictionaryEncoding |
dictionary(DictionaryEncoding obj) |
static int |
endField(com.google.flatbuffers.FlatBufferBuilder builder) |
static Field |
getRootAsField(ByteBuffer _bb) |
static Field |
getRootAsField(ByteBuffer _bb,
Field obj) |
String |
name()
Name is not required, in i.e.
|
ByteBuffer |
nameAsByteBuffer() |
ByteBuffer |
nameInByteBuffer(ByteBuffer _bb) |
boolean |
nullable()
Whether or not this field can contain nulls.
|
static void |
startChildrenVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startField(com.google.flatbuffers.FlatBufferBuilder builder) |
com.google.flatbuffers.Table |
type(com.google.flatbuffers.Table obj)
This is the type of the decoded value if the field is dictionary encoded.
|
byte |
typeType() |
static void |
ValidateVersion() |
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, __vector, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
public static void ValidateVersion()
public static Field getRootAsField(ByteBuffer _bb)
public static Field getRootAsField(ByteBuffer _bb, Field obj)
public void __init(int _i, ByteBuffer _bb)
public Field __assign(int _i, ByteBuffer _bb)
public String name()
public ByteBuffer nameAsByteBuffer()
public ByteBuffer nameInByteBuffer(ByteBuffer _bb)
public boolean nullable()
public byte typeType()
public com.google.flatbuffers.Table type(com.google.flatbuffers.Table obj)
public DictionaryEncoding dictionary()
public DictionaryEncoding dictionary(DictionaryEncoding obj)
public Field children(int j)
public int childrenLength()
public Field.Vector childrenVector()
public Field.Vector childrenVector(Field.Vector obj)
public KeyValue customMetadata(int j)
public int customMetadataLength()
public KeyValue.Vector customMetadataVector()
public KeyValue.Vector customMetadataVector(KeyValue.Vector obj)
public static int createField(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset, boolean nullable, byte type_type, int typeOffset, int dictionaryOffset, int childrenOffset, int custom_metadataOffset)
public static void startField(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset)
public static void addNullable(com.google.flatbuffers.FlatBufferBuilder builder, boolean nullable)
public static void addTypeType(com.google.flatbuffers.FlatBufferBuilder builder, byte typeType)
public static void addType(com.google.flatbuffers.FlatBufferBuilder builder, int typeOffset)
public static void addDictionary(com.google.flatbuffers.FlatBufferBuilder builder, int dictionaryOffset)
public static void addChildren(com.google.flatbuffers.FlatBufferBuilder builder, int childrenOffset)
public static int createChildrenVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
public static void startChildrenVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
public static void addCustomMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int customMetadataOffset)
public static int createCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
public static void startCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
public static int endField(com.google.flatbuffers.FlatBufferBuilder builder)
Copyright © 2023 The Apache Software Foundation. All rights reserved.