public final class ColumnProperty extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHAR1
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR128
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR16
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR2
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR256
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR32
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR4
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR64
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
CHAR8
This property provides optimized memory, disk and query performance for
string columns.
|
static String |
DATA
Default property for all numeric and string type columns; makes the
column available for GPU queries.
|
static String |
DATE
Valid only for 'string' columns.
|
static String |
DECIMAL
Valid only for 'string' columns.
|
static String |
DISK_OPTIMIZED
Works in conjunction with the 'data' property for string columns.
|
static String |
INT16
This property provides optimized memory and query performance for int
columns.
|
static String |
INT8
This property provides optimized memory and query performance for int
columns.
|
static String |
IPV4
This property provides optimized memory, disk and query performance for
string columns representing IPv4 addresses (i.e.
|
static String |
NULLABLE
This property indicates that this column is nullable.
|
static String |
PRIMARY_KEY
This property indicates that this column will be part of (or the entire)
primary key.
|
static String |
SHARD_KEY
This property indicates that this column will be part of (or the entire)
shard key.
|
static String |
STORE_ONLY
Persist the column value but do not make it available to queries (e.g.
|
static String |
TEXT_SEARCH
Valid only for 'string' columns.
|
static String |
TIME
Valid only for 'string' columns.
|
static String |
TIMESTAMP
Valid only for 'long' columns.
|
public static final String DATA
public static final String TEXT_SEARCH
public static final String STORE_ONLY
GPUdb.filterByBox(FilterByBoxRequest)
)-i.e. it is mutually
exclusive to the 'data' property. Any 'bytes' type column must have a
'store_only' property. This property reduces system memory usage.public static final String DISK_OPTIMIZED
GPUdb.filter(FilterRequest)
, GPUdb.filterByList(FilterByListRequest)
, and GPUdb.filterByValue(FilterByValueRequest)
work as usual but GPUdb.aggregateUniqueRaw(AggregateUniqueRequest)
, GPUdb.aggregateGroupByRaw(AggregateGroupByRequest)
and GPUdb.getRecordsByColumnRaw(GetRecordsByColumnRequest)
are not allowed
on columns with this property.public static final String TIMESTAMP
public static final String DECIMAL
public static final String DATE
public static final String TIME
public static final String CHAR1
public static final String CHAR2
public static final String CHAR4
public static final String CHAR8
public static final String CHAR16
public static final String CHAR32
public static final String CHAR64
public static final String CHAR128
public static final String CHAR256
public static final String INT8
public static final String INT16
public static final String IPV4
public static final String PRIMARY_KEY
public static final String SHARD_KEY
public static final String NULLABLE
typeDefinition
. 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 Java and C++ APIs have built-in convenience for bypassing setting the avro schema by hand. For those two languages, one can use this property as usual and not have to worry about the avro schema for the record.
Copyright © 2017. All rights reserved.