Class ArrowToTableConverter
java.lang.Object
io.deephaven.extensions.barrage.util.ArrowToTableConverter
- Direct Known Subclasses:
ArrowFlightUtil.DoPutObserver
This class allows the incremental making of a BarrageTable from Arrow IPC messages, starting with an Arrow Schema
message followed by zero or more RecordBatches
-
Field Summary
Modifier and TypeFieldDescriptionprotected BarrageSubscriptionOptions
protected BarrageTable
protected long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecordBatch
(ByteBuffer ipcMessage) void
addRecordBatches
(ByteBuffer... ipcMessages) protected BarrageMessage
createBarrageMessage
(BarrageProtoUtil.MessageInfo mi, int numColumns) void
protected void
parseSchema
(org.apache.arrow.flatbuf.Message message) void
setSchema
(ByteBuffer ipcMessage)
-
Field Details
-
totalRowsRead
protected long totalRowsRead -
resultTable
-
options
-
-
Constructor Details
-
ArrowToTableConverter
public ArrowToTableConverter()
-
-
Method Details
-
setSchema
-
addRecordBatches
-
addRecordBatch
-
getResultTable
-
onCompleted
- Throws:
InterruptedException
-
parseSchema
protected void parseSchema(org.apache.arrow.flatbuf.Message message) -
createBarrageMessage
-