Virtual Method

OmniStreamSinkfeed_table_batch_async

Declaration

void
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: OmniArrowRecordBatch

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
time_start

Type: OmniTime

No description available.

time_end

Type: OmniTime

No description available.

callback

Type: GAsyncReadyCallback

No description available.

user_data

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.