Virtual Method

OmniStreamBuilderappend_table_secondary_key

Declaration

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

Description

Append a secondary partitioning key field to the table stream.

Returns the index of the appended key.

Warning: Using this method is discouraged until the feature is fully supported by the application. Currently, the application accepts SPK specifications, but it does not build an associated index structure or validate the provided keys. Therefore, plugins using it incorrectly will stop working when SPK support is finally implemented. You must not use this method unless you are aware of the exact criteria that SPK values must conform to. .

Parameters

name

Type: const gchar*

No description available.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
flags

Type: OmniTableStreamKeyFlags

No description available.

Return value

Type: guint

No description available.