Virtual Method

OmniSourcePlanContextadd_table_stream

Declaration

OmniStreamBuilder*
add_table_stream (
  OmniSourcePlanContext* self,
  OmniArrowSchema* schema
)

Description

Add a table input stream.

This method returns an OmniStreamBuilder object that can be used to configure the details of the created stream.

The OmniStreamBuilder:handle property of this object provides an a handle representing the stream. During activation, an input source can pass it to omni_source_activate_context_dup_stream_sink() to get the stream sink and start feeding data to it.

Parameters

schema

Type: OmniArrowSchema

No description available.

The data is owned by the caller of the method.

Return value

Type: OmniStreamBuilder

No description available.

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