Interface

OmniStreamBuilder

Description

interface Omni.StreamBuilder : GObject.Object

Defines the details of a stream in Omni.PipelineBuilder or Omni.SourcePlanContext.

Prerequisite

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

Instance methods

omni_stream_builder_dup_table_schema

Get the schema of the table stream.

omni_stream_builder_append_table_secondary_key

Append a secondary partitioning key field to the table stream.

omni_stream_builder_get_table_secondary_key

Get the information about a specified table secondary partitioning key.

omni_stream_builder_get_handle
No description available.

omni_stream_builder_get_name
No description available.

omni_stream_builder_set_name
No description available.

omni_stream_builder_get_table_primary_key
No description available.

omni_stream_builder_set_table_primary_key
No description available.

Properties

Omni.StreamBuilder:handle

Get the handle representing the stream.

Omni.StreamBuilder:name

Set or get a friendly name to distinguish streams.

Omni.StreamBuilder:table-primary-key

Set or get the table stream’s primary partitioning key.

Omni.StreamBuilder:num-table-secondary-keys

Get the number of table secondary partitioning keys.

Interface structure

struct OmniStreamBuilderIface {
  OmniArrowSchema* (* dup_table_schema) (
    OmniStreamBuilder* self
  );
  guint (* append_table_secondary_key) (
    OmniStreamBuilder* self,
    const gchar* name,
    OmniTableStreamKeyFlags flags
  );
  gboolean (* get_table_secondary_key) (
    OmniStreamBuilder* self,
    guint index,
    gchar** name,
    OmniTableStreamKeyFlags* flags
  );
  gint32 (* get_handle) (
    OmniStreamBuilder* self
  );
  const gchar* (* get_name) (
    OmniStreamBuilder* self
  );
  void (* set_name) (
    OmniStreamBuilder* self,
    const gchar* value
  );
  const gchar* (* get_table_primary_key) (
    OmniStreamBuilder* self
  );
  void (* set_table_primary_key) (
    OmniStreamBuilder* self,
    const gchar* value
  );
  guint (* get_num_table_secondary_keys) (
    OmniStreamBuilder* self
  );
  
}

No description available.

Interface members
dup_table_schema
OmniArrowSchema* (* dup_table_schema) (
    OmniStreamBuilder* self
  )
 

No description available.

append_table_secondary_key
guint (* append_table_secondary_key) (
    OmniStreamBuilder* self,
    const gchar* name,
    OmniTableStreamKeyFlags flags
  )
 

No description available.

get_table_secondary_key
gboolean (* get_table_secondary_key) (
    OmniStreamBuilder* self,
    guint index,
    gchar** name,
    OmniTableStreamKeyFlags* flags
  )
 

No description available.

get_handle
gint32 (* get_handle) (
    OmniStreamBuilder* self
  )
 

No description available.

get_name
const gchar* (* get_name) (
    OmniStreamBuilder* self
  )
 

No description available.

set_name
void (* set_name) (
    OmniStreamBuilder* self,
    const gchar* value
  )
 

No description available.

get_table_primary_key
const gchar* (* get_table_primary_key) (
    OmniStreamBuilder* self
  )
 

No description available.

set_table_primary_key
void (* set_table_primary_key) (
    OmniStreamBuilder* self,
    const gchar* value
  )
 

No description available.

get_num_table_secondary_keys
guint (* get_num_table_secondary_keys) (
    OmniStreamBuilder* self
  )
 

No description available.

Virtual methods

Omni.StreamBuilder.dup_table_schema

Get the schema of the table stream.

Omni.StreamBuilder.append_table_secondary_key

Append a secondary partitioning key field to the table stream.

Omni.StreamBuilder.get_table_secondary_key

Get the information about a specified table secondary partitioning key.

Omni.StreamBuilder.get_handle
No description available.

Omni.StreamBuilder.get_name
No description available.

Omni.StreamBuilder.set_name
No description available.

Omni.StreamBuilder.get_table_primary_key
No description available.

Omni.StreamBuilder.set_table_primary_key
No description available.