This section describes the data structures defined in sqltypes_td.h for use with external routines that access or manipulate DATASET data.
DATASET_HANDLE
A DATASET argument is passed to an external routine using a DATASET_HANDLE. The DATASET_HANDLE used to pass DATASET data is defined in sqltypes_td.h as follows:
typedef int DATASET_HANDLE;
dataset_schema_encoding_en
Some external routines require a specification of the encoding of the schema text being handled. The dataset_schema_encoding_en enum includes the following information. See sqltypes_td.h for the complete definition.
- datasetSchemaUTF8 = 0
- datasetSchemaUTF16 = 1
sqltypes_td.h also includes the following definition:
typedef Byte dataset_schema_encoding_t;
dataset_storage_en
The dataset_storage_en enum specifies the storage format of a DATASET type. It includes the following values. See sqltypes_td.h for the complete definition.
- DATASET_INVALID_EN=-1
- DATASET_Avro_EN=0
- DATASET_CSV_EN=1
sqltypes_td.h also includes the following definition:
typedef BYTE dataset_storage_et;