Method
OmniStreamSinkfeed_table_batch_async
Declaration
void
omni_stream_sink_feed_table_batch_async (
OmniStreamSink* self,
OmniArrowRecordBatch* batch,
OmniTime time_start,
OmniTime time_end,
GAsyncReadyCallback callback,
void* user_data
)
Description
Add a batch to the table stream.
The schema must be compatible with that of the stream in terms of buffer layout. A null value is treated as a batch with zero rows.
If the stream already contains at least one batch, time_start must
immediately follow the last batch’s time range.
The time range must not be empty.
Parameters
batch-
Type:
OmniArrowRecordBatchNo description available.
The argument can be NULL.The data is owned by the caller of the method. time_start-
Type:
OmniTimeNo description available.
time_end-
Type:
OmniTimeNo description available.
callback-
Type:
GAsyncReadyCallbackNo description available.
The argument can be NULL. user_data-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the method.