public static final class AlterTableRequest.Options extends Object
Modifier and Type | Field and Description | ||||||
---|---|---|---|---|---|---|---|
static String |
ACTION |
||||||
static String |
ADD_COLUMN_EXPRESSION
When adding a column, an optional expression to use for the new
column's values.
|
||||||
static String |
CAGRA
Create or delete a
static String CHUNK_SKIP
Create or delete a
static String COLUMN
Create or delete a
static String COLUMN_DEFAULT_VALUE
When adding a column, set a default value for existing records.
| ||||||
static String |
COLUMN_NAME |
||||||
static String |
COLUMN_PROPERTIES
When adding or changing a column, set the column properties
(strings, separated by a comma: data, store_only, text_search,
char8, int8 etc).
|
||||||
static String |
COLUMN_TYPE
When adding or changing a column, set the column type (strings,
separated by a comma: int, double, string, null etc).
|
||||||
static String |
COMPRESSION_TYPE
No longer supported; option will be ignored.
|
||||||
static String |
COPY_VALUES_FROM_COLUMN
[DEPRECATED--please use
ADD_COLUMN_EXPRESSION instead.] |
||||||
static String |
FALSE
Don't reset the timer; expiration countdown will continue from where
it is, as if the table had not been accessed.
|
||||||
static String |
GEOSPATIAL
Create or delete a
static String HNSW
Create or delete an
static String INDEX_OPTIONS
Options to use when creating an index, in the format "key: value [,
key: value [, ...]]".
| ||||||
static String |
INDEX_TYPE
Type of index to create, when
action is CREATE_INDEX ; to refresh, when action is REFRESH_INDEX ;
or to delete, when action is DELETE_INDEX . |
||||||
static String |
LOW_CARDINALITY
| ||||||
static String |
LZ4HC |
||||||
static String |
NONE |
||||||
static String |
RENAME_COLUMN
When changing a column, specify new column name.
|
||||||
static String |
SNAPPY |
||||||
static String |
STRATEGY_DEFINITION
| ||||||
static String |
TRUE
Reset the expiration countdown timer to the table's configured TTL.
|
||||||
static String |
UPDATE_LAST_ACCESS_TIME
Indicates whether the
static String VALIDATE_CHANGE_COLUMN
When changing a column, validate the change before applying it (or
not).
|
public static final String ACTION
public static final String COLUMN_NAME
public static final String TABLE_NAME
public static final String COLUMN_DEFAULT_VALUE
public static final String COLUMN_PROPERTIES
public static final String COLUMN_TYPE
public static final String COMPRESSION_TYPE
SNAPPY
.public static final String NONE
public static final String SNAPPY
public static final String LZ4
public static final String LZ4HC
public static final String COPY_VALUES_FROM_COLUMN
ADD_COLUMN_EXPRESSION
instead.]public static final String RENAME_COLUMN
public static final String VALIDATE_CHANGE_COLUMN
TRUE
: Validate all values. A value too
large (or too long) for the new type will prevent any
change.
FALSE
: When a value is too large or
long, it will be truncated.
TRUE
.public static final String TRUE
public static final String FALSE
public static final String UPDATE_LAST_ACCESS_TIME
TRUE
: Reset the expiration countdown
timer to the table's configured TTL.
FALSE
: Don't reset the timer;
expiration countdown will continue from where it is, as if
the table had not been accessed.
TRUE
.public static final String ADD_COLUMN_EXPRESSION
public static final String STRATEGY_DEFINITION
action
is SET_STRATEGY_DEFINITION
, replacing the existing tier strategy in
its entirety.public static final String INDEX_TYPE
action
is CREATE_INDEX
; to refresh, when action
is REFRESH_INDEX
;
or to delete, when action
is DELETE_INDEX
.
Supported values:
COLUMN
: Create or delete a column (attribute) index.
LOW_CARDINALITY
: Create a low-cardinality column (attribute) index.
CHUNK_SKIP
: Create or delete a chunk skip index.
GEOSPATIAL
: Create or delete a geospatial index
CAGRA
: Create or delete a CAGRA index on a vector column
HNSW
: Create or delete an HNSW index on a vector column
COLUMN
.public static final String COLUMN
public static final String LOW_CARDINALITY
public static final String CHUNK_SKIP
public static final String GEOSPATIAL
public static final String CAGRA
public static final String HNSW
public static final String INDEX_OPTIONS
Copyright © 2025. All rights reserved.