public class ArrowRecordBatch extends Object implements FBSerializable, AutoCloseable
| Constructor and Description |
|---|
ArrowRecordBatch(int length,
List<ArrowFieldNode> nodes,
List<ArrowBuf> buffers) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
releases the buffers
|
List<ArrowBuf> |
getBuffers() |
List<ArrowBuffer> |
getBuffersLayout() |
int |
getLength() |
List<ArrowFieldNode> |
getNodes() |
int |
writeTo(com.google.flatbuffers.FlatBufferBuilder builder) |
public ArrowRecordBatch(int length,
List<ArrowFieldNode> nodes,
List<ArrowBuf> buffers)
length - how many rows in this batchnodes - field level infobuffers - will be retained until this recordBatch is closedpublic int getLength()
public List<ArrowFieldNode> getNodes()
public List<ArrowBuffer> getBuffersLayout()
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
writeTo in interface FBSerializablepublic void close()
close in interface AutoCloseableCopyright © 2016 The Apache Software Foundation. All rights reserved.