A single column of a DDSQL tabular query result.

Hierarchy

  • DdsqlTabularQueryColumn

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
name: string

Name of the column as projected by the SQL statement.

type: string

DDSQL data type of the column's values, for example VARCHAR, BIGINT, DECIMAL, BOOLEAN, TIMESTAMP, JSON, or an array variant such as VARCHAR[]. See the DDSQL data-types reference for the full, up-to-date list.

values: any[]

Column values in row order, one entry per result row. The element type follows the column's type. The following serialization rules should be taken into account:

  • BIGINT values are encoded as JSON numbers in the signed 64-bit integer range.
  • DECIMAL values are encoded as JSON numbers with 64-bit double precision.
  • TIMESTAMP and DATE values are encoded as Unix-millisecond integers; a DATE resolves to midnight UTC.
  • JSON values are returned as a JSON-encoded string.

null is allowed for any column type where a value is missing.

Generated using TypeDoc