public final class RecordBatch
extends com.google.flatbuffers.Table
Modifier and Type | Class and Description |
---|---|
static class |
RecordBatch.Vector |
Constructor and Description |
---|
RecordBatch() |
Modifier and Type | Method and Description |
---|---|
RecordBatch |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static void |
addBuffers(com.google.flatbuffers.FlatBufferBuilder builder,
int buffersOffset) |
static void |
addCompression(com.google.flatbuffers.FlatBufferBuilder builder,
int compressionOffset) |
static void |
addLength(com.google.flatbuffers.FlatBufferBuilder builder,
long length) |
static void |
addNodes(com.google.flatbuffers.FlatBufferBuilder builder,
int nodesOffset) |
Buffer |
buffers(Buffer obj,
int j) |
Buffer |
buffers(int j)
Buffers correspond to the pre-ordered flattened buffer tree
The number of buffers appended to this list depends on the schema.
|
int |
buffersLength() |
Buffer.Vector |
buffersVector() |
Buffer.Vector |
buffersVector(Buffer.Vector obj) |
BodyCompression |
compression()
Optional compression of the message body
|
BodyCompression |
compression(BodyCompression obj) |
static int |
createRecordBatch(com.google.flatbuffers.FlatBufferBuilder builder,
long length,
int nodesOffset,
int buffersOffset,
int compressionOffset) |
static int |
endRecordBatch(com.google.flatbuffers.FlatBufferBuilder builder) |
static RecordBatch |
getRootAsRecordBatch(ByteBuffer _bb) |
static RecordBatch |
getRootAsRecordBatch(ByteBuffer _bb,
RecordBatch obj) |
long |
length()
number of records / rows.
|
FieldNode |
nodes(FieldNode obj,
int j) |
FieldNode |
nodes(int j)
Nodes correspond to the pre-ordered flattened logical schema
|
int |
nodesLength() |
FieldNode.Vector |
nodesVector() |
FieldNode.Vector |
nodesVector(FieldNode.Vector obj) |
static void |
startBuffersVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startNodesVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startRecordBatch(com.google.flatbuffers.FlatBufferBuilder builder) |
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 RecordBatch getRootAsRecordBatch(ByteBuffer _bb)
public static RecordBatch getRootAsRecordBatch(ByteBuffer _bb, RecordBatch obj)
public void __init(int _i, ByteBuffer _bb)
public RecordBatch __assign(int _i, ByteBuffer _bb)
public long length()
public FieldNode nodes(int j)
public int nodesLength()
public FieldNode.Vector nodesVector()
public FieldNode.Vector nodesVector(FieldNode.Vector obj)
public Buffer buffers(int j)
public int buffersLength()
public Buffer.Vector buffersVector()
public Buffer.Vector buffersVector(Buffer.Vector obj)
public BodyCompression compression()
public BodyCompression compression(BodyCompression obj)
public static int createRecordBatch(com.google.flatbuffers.FlatBufferBuilder builder, long length, int nodesOffset, int buffersOffset, int compressionOffset)
public static void startRecordBatch(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addLength(com.google.flatbuffers.FlatBufferBuilder builder, long length)
public static void addNodes(com.google.flatbuffers.FlatBufferBuilder builder, int nodesOffset)
public static void startNodesVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
public static void addBuffers(com.google.flatbuffers.FlatBufferBuilder builder, int buffersOffset)
public static void startBuffersVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
public static void addCompression(com.google.flatbuffers.FlatBufferBuilder builder, int compressionOffset)
public static int endRecordBatch(com.google.flatbuffers.FlatBufferBuilder builder)
Copyright © 2023 The Apache Software Foundation. All rights reserved.