public final class Schema
extends com.google.flatbuffers.Table
| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
__init(int _i,
ByteBuffer _bb) |
static void |
addCustomMetadata(com.google.flatbuffers.FlatBufferBuilder builder,
int customMetadataOffset) |
static void |
addEndianness(com.google.flatbuffers.FlatBufferBuilder builder,
short endianness) |
static void |
addFields(com.google.flatbuffers.FlatBufferBuilder builder,
int fieldsOffset) |
static int |
createCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder,
int[] data) |
static int |
createFieldsVector(com.google.flatbuffers.FlatBufferBuilder builder,
int[] data) |
static int |
createSchema(com.google.flatbuffers.FlatBufferBuilder builder,
short endianness,
int fields,
int custom_metadata) |
KeyValue |
customMetadata(int j) |
KeyValue |
customMetadata(KeyValue obj,
int j) |
int |
customMetadataLength() |
short |
endianness()
endianness of the buffer
it is Little Endian by default
if endianness doesn't match the underlying system then the vectors need to be converted
|
static int |
endSchema(com.google.flatbuffers.FlatBufferBuilder builder) |
Field |
fields(Field obj,
int j) |
Field |
fields(int j) |
int |
fieldsLength() |
static void |
finishSchemaBuffer(com.google.flatbuffers.FlatBufferBuilder builder,
int offset) |
static Schema |
getRootAsSchema(ByteBuffer _bb) |
static Schema |
getRootAsSchema(ByteBuffer _bb,
Schema obj) |
static void |
startCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startFieldsVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startSchema(com.google.flatbuffers.FlatBufferBuilder builder) |
public static Schema getRootAsSchema(ByteBuffer _bb)
public static Schema getRootAsSchema(ByteBuffer _bb, Schema obj)
public Schema __init(int _i, ByteBuffer _bb)
public short endianness()
public Field fields(int j)
public int fieldsLength()
public KeyValue customMetadata(int j)
public int customMetadataLength()
public static int createSchema(com.google.flatbuffers.FlatBufferBuilder builder,
short endianness,
int fields,
int custom_metadata)
public static void startSchema(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addEndianness(com.google.flatbuffers.FlatBufferBuilder builder,
short endianness)
public static void addFields(com.google.flatbuffers.FlatBufferBuilder builder,
int fieldsOffset)
public static int createFieldsVector(com.google.flatbuffers.FlatBufferBuilder builder,
int[] data)
public static void startFieldsVector(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 endSchema(com.google.flatbuffers.FlatBufferBuilder builder)
public static void finishSchemaBuffer(com.google.flatbuffers.FlatBufferBuilder builder,
int offset)
Copyright © 2017 The Apache Software Foundation. All rights reserved.