Skip to main content

The column properties a Kinetica type can give its columns, as text. A Column takes them in its properties, and KineticaColumnProperties builds them.

Constants

pub const ARRAY: &str = “array”;

A string column holding an array, array(<type>[,<size>]).

pub const BOOLEAN: &str = “boolean”;

An int column holding a boolean, 0 or 1.

pub const CHAR1: &str = “char1”;

A string column of at most 1 character.

pub const CHAR2: &str = “char2”;

A string column of at most 2 characters.

pub const CHAR4: &str = “char4”;

A string column of at most 4 characters.

pub const CHAR8: &str = “char8”;

A string column of at most 8 characters.

pub const CHAR16: &str = “char16”;

A string column of at most 16 characters.

pub const CHAR32: &str = “char32”;

A string column of at most 32 characters.

pub const CHAR64: &str = “char64”;

A string column of at most 64 characters.

pub const CHAR128: &str = “char128”;

A string column of at most 128 characters.

pub const CHAR256: &str = “char256”;

A string column of at most 256 characters.

pub const COMPRESS: &str = “compress”;

The column’s data is compressed.

pub const DATA: &str = “data”;

Data is stored for this column; the default.

pub const DATE: &str = “date”;

A string column holding a date, YYYY-MM-DD.

pub const DATETIME: &str = “datetime”;

A string column holding a date and time, YYYY-MM-DD HH:MM:SS[.mmm].

pub const DECIMAL: &str = “decimal”;

A string column holding a decimal, decimal(P,S) for its precision and scale.

pub const DEFAULT: &str = “default”;

The column’s default, default(<value>).

pub const DEFAULT_SQL: &str = “default_sql”;

The column’s default as an SQL expression.

pub const DICT: &str = “dict”;

The column’s values are dictionary-encoded.

pub const INIT_WITH_NOW: &str = “init_with_now”;

The column takes the time of insertion where no value is given.

pub const INIT_WITH_UUID: &str = “init_with_uuid”;

The column takes a new UUID where no value is given.

pub const INT8: &str = “int8”;

An int column holding an 8-bit integer.

pub const INT16: &str = “int16”;

An int column holding a 16-bit integer.

pub const IPV4: &str = “ipv4”;

A string column holding an IPv4 address.

pub const JSON: &str = “json”;

A string column holding JSON.

pub const NULLABLE: &str = “nullable”;

The column may hold nulls.

pub const PRIMARY_KEY: &str = “primary_key”;

The column is part of the primary key.

pub const SHARD_KEY: &str = “shard_key”;

The column is part of the shard key.

pub const SOFT_PRIMARY_KEY: &str = “soft_primary_key”;

The column is part of a primary key that is not enforced.

Full-text search is enabled on this column.

pub const TIME: &str = “time”;

A string column holding a time, HH:MM:SS[.mmm].

pub const TIMESTAMP: &str = “timestamp”;

A long column holding milliseconds since the epoch.

pub const ULONG: &str = “ulong”;

A string column holding an unsigned long.

pub const UPDATE_WITH_NOW: &str = “update_with_now”;

The column takes the time of each update.

pub const UPDATE_WITH_USER: &str = “update_with_user”;

The column takes the user making each update.

pub const UUID: &str = “uuid”;

A string column holding a UUID.

pub const VECTOR: &str = “vector”;

A bytes column holding a vector of floats, vector(<dimensions>).

pub const WKT: &str = “wkt”;

A string or bytes column holding a geometry, as WKT or WKB.