Virtual Method

OmniArrowRecordBatchdup_schema

Declaration

OmniArrowSchema*
dup_schema (
  OmniArrowRecordBatch* self
)

Description

Get the schema of the record batch.

The default implementation calls omni_arrow_record_batch_export() and imports the schema back by calling omni_arrow_schema_import(). It can be optionally overridden to reduce the conversion overhead. This is rarely necessary for plugin code because the host application never calls it.

Return value

Type: OmniArrowSchema

No description available.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.