public class ArrowRecordBatch extends Object implements ArrowMessage
ArrowMessage.ArrowMessageVisitor<T>
コンストラクタと説明 |
---|
ArrowRecordBatch(int length,
List<ArrowFieldNode> nodes,
List<ArrowBuf> buffers) |
ArrowRecordBatch(int length,
List<ArrowFieldNode> nodes,
List<ArrowBuf> buffers,
boolean alignBuffers) |
修飾子とタイプ | メソッドと説明 |
---|---|
<T> T |
accepts(ArrowMessage.ArrowMessageVisitor<T> visitor) |
ArrowRecordBatch |
cloneWithTransfer(BufferAllocator allocator)
Create a new ArrowRecordBatch which has the same information as this batch but whose buffers
are owned by that Allocator.
|
void |
close()
releases the buffers
|
int |
computeBodyLength()
Computes the size of the serialized body for this recordBatch.
|
List<ArrowBuf> |
getBuffers() |
List<ArrowBuffer> |
getBuffersLayout() |
int |
getLength() |
List<ArrowFieldNode> |
getNodes() |
String |
toString() |
int |
writeTo(com.google.flatbuffers.FlatBufferBuilder builder) |
public ArrowRecordBatch(int length, List<ArrowFieldNode> nodes, List<ArrowBuf> buffers)
public ArrowRecordBatch(int length, List<ArrowFieldNode> nodes, List<ArrowBuf> buffers, boolean alignBuffers)
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 ArrowRecordBatch cloneWithTransfer(BufferAllocator allocator)
public List<ArrowBuffer> getBuffersLayout()
public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
writeTo
インタフェース内 FBSerializable
public <T> T accepts(ArrowMessage.ArrowMessageVisitor<T> visitor)
accepts
インタフェース内 ArrowMessage
public void close()
close
インタフェース内 AutoCloseable
public int computeBodyLength()
computeBodyLength
インタフェース内 ArrowMessage
Copyright © 2018 The Apache Software Foundation. All rights reserved.