java.lang.Object
com.gpudb.ColumnProperty
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValid only for ‘string’ columns.static final StringThis property provides optimized memory and query performance for int columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property provides optimized memory, disk and query performance for string columns.static final StringThis property indicates that this column should be compressed with the given codec and optional level; e.g., ‘compress(snappy)’ for Snappy compression and ‘compress(zstd(7))’ for zstd level 7 compression.static final StringDefault property for all numeric and string type columns; makes the column available for GPU queries.static final StringValid only for ‘string’ columns.static final StringValid only for ‘string’ columns.static final StringValid only for ‘string’ columns.static final StringSets a default value expression for this column, e.g. ‘default(0)’, ‘default(”pending”)’, or ‘default(NOW())‘.static final StringSets a default value expression for this column with SQL syntax, e.g. ‘default(0)’, ‘default(”pending”)’, or ‘default(NOW())‘.static final StringThis property indicates that this column should be dictionary encoded.static final StringFor ‘date’, ‘time’, ‘datetime’, or ‘timestamp’ column types, replace empty strings and invalid timestamps with ‘NOW()’ upon insert.static final StringFor ‘uuid’ type, replace empty strings and invalid UUID values with randomly-generated UUIDs upon insert.static final StringThis property provides optimized memory and query performance for int columns.static final StringThis property provides optimized memory and query performance for int columns.static final StringThis property provides optimized memory, disk and query performance for string columns representing IPv4 addresses (i.e. 192.168.1.1).static final StringValid only for ‘string’ columns.static final StringThis property indicates that this column is nullable.static final StringThis property indicates that this column will be part of (or the entire) primary key.static final StringThis property indicates that this column will be part of (or the entire) shard key.static final StringThis property indicates that this column will be part of (or the entire) soft primary key.static final StringValid only for select ‘string’ columns.static final StringValid only for ‘string’ columns.static final StringValid only for ‘long’ columns.static final StringValid only for ‘string’ columns.static final StringFor ‘date’, ‘time’, ‘datetime’, or ‘timestamp’ column types, update the field with ‘NOW()’ upon any update.static final StringFor ‘charN’ or ‘string’ column types, update the field with the current user’s name upon any update.static final StringValid only for ‘string’ columns.static final StringValid only for ‘bytes’ columns.static final StringValid only for ‘string’ and ‘bytes’ columns.
Field Details
TEXT_SEARCH
Valid only for select ‘string’ columns. Enables full text search—see Full Text Search for details and applicable string column types.See Also:DECIMAL
Valid only for ‘string’ columns. It represents a SQL type NUMERIC(19, 4) data type. There can be up to 15 digits before the decimal point and up to four digits in the fractional part. The value can be positive or negative (indicated by a minus sign at the beginning). This property is mutually exclusive with theTEXT_SEARCHproperty.See Also:DATE
Valid only for ‘string’ columns. Indicates that this field represents a date and will be provided in the format ‘YYYY-MM-DD’. The allowable range is 1000-01-01 through 2900-01-01. This property is mutually exclusive with theTEXT_SEARCHproperty.See Also:TIME
Valid only for ‘string’ columns. Indicates that this field represents a time-of-day and will be provided in the format ‘HH:MM:SS.mmm’. The allowable range is 00:00:00.000 through 23:59:59.999. This property is mutually exclusive with theTEXT_SEARCHproperty.See Also:DATETIME
Valid only for ‘string’ columns. Indicates that this field represents a datetime and will be provided in the format ‘YYYY-MM-DD HH:MM:SS.mmm’. The allowable range is 1000-01-01 00:00:00.000 through 2900-01-01 23:59:59.999. This property is mutually exclusive with theTEXT_SEARCHproperty.See Also:ARRAY
Valid only for ‘string’ columns. Indicates that this field contains an array. The value type and (optionally) the item count should be specified in parenthesis; e.g., ‘array(int, 10)’ for a 10-integer array. Both ‘array(int)’ and ‘array(int, -1)’ will designate an unlimited-length integer array, though no bounds checking is performed on arrays of any length.See Also:PRIMARY_KEY
This property indicates that this column will be part of (or the entire) primary key.See Also:SOFT_PRIMARY_KEY
This property indicates that this column will be part of (or the entire) soft primary key.See Also:NULLABLE
This property indicates that this column is nullable. However, setting this property is insufficient for making the column nullable. The user must declare the type of the column as a union between its regular type and ‘null’ in the Avro schema for the record type intypeDefinition. For example, if a column is of type integer and is nullable, then the entry for the column in the Avro schema must be: [‘int’, ‘null’].The C++, C#, Java, and Python APIs have built-in convenience for bypassing setting the Avro schema by hand. For those languages, one can use this property as usual and not have to worry about the Avro schema for the record.
See Also:COMPRESS
This property indicates that this column should be compressed with the given codec and optional level; e.g., ‘compress(snappy)’ for Snappy compression and ‘compress(zstd(7))’ for zstd level 7 compression. This property is primarily used in order to save disk space.See Also:DICT
This property indicates that this column should be dictionary encoded. It can only be used in conjunction with restricted string (charN), int, long or date columns. Dictionary encoding is best for columns where the cardinality (the number of unique values) is expected to be low. This property can save a large amount of memory.See Also: