Interface

OmniArrowRecordBatchStream

Description

interface Omni.ArrowRecordBatchStream : GObject.Object

An asynchronous stream of Arrow record batches.

Prerequisite

In order to implement ArrowRecordBatchStream, your type must inherit fromGObject.

Instance methods

omni_arrow_record_batch_stream_get_schema

Get the schema of the record batches.

omni_arrow_record_batch_stream_next_async

Get the next batch. Returns NULL if no more batches are available.

omni_arrow_record_batch_stream_next_finish
No description available.

omni_arrow_record_batch_stream_collect_async

Collect all remaining batches into an array.

Interface structure

struct OmniArrowRecordBatchStreamIface {
  OmniArrowSchema* (* get_schema) (
    OmniArrowRecordBatchStream* self
  );
  void (* next_async) (
    OmniArrowRecordBatchStream* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  OmniArrowRecordBatch* (* next_finish) (
    OmniArrowRecordBatchStream* self,
    GAsyncResult* _res_,
    GError** error
  );
  
}

No description available.

Interface members
get_schema
OmniArrowSchema* (* get_schema) (
    OmniArrowRecordBatchStream* self
  )
 

No description available.

next_async
void (* next_async) (
    OmniArrowRecordBatchStream* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

next_finish
OmniArrowRecordBatch* (* next_finish) (
    OmniArrowRecordBatchStream* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

Virtual methods

Omni.ArrowRecordBatchStream.get_schema

Get the schema of the record batches.

Omni.ArrowRecordBatchStream.next_async

Get the next batch. Returns NULL if no more batches are available.

Omni.ArrowRecordBatchStream.next_finish
No description available.