pub struct AlterTableRequest {
Show 20 fields pub session_id: String, pub path: String, pub add_columns: Vec<ColumnMeta>, pub drop_columns: Vec<String>, pub operation_params: Option<OperationParams>, pub alter_columns: Vec<ColumnMeta>, pub add_indexes: Vec<TableIndex>, pub drop_indexes: Vec<String>, pub alter_storage_settings: Option<StorageSettings>, pub add_column_families: Vec<ColumnFamily>, pub alter_column_families: Vec<ColumnFamily>, pub alter_attributes: HashMap<String, String>, pub set_compaction_policy: String, pub alter_partitioning_settings: Option<PartitioningSettings>, pub set_key_bloom_filter: i32, pub set_read_replicas_settings: Option<ReadReplicasSettings>, pub add_changefeeds: Vec<Changefeed>, pub drop_changefeeds: Vec<String>, pub rename_indexes: Vec<RenameIndexItem>, pub ttl_action: Option<TtlAction>,
}
Expand description

Alter table with given path

Fields

session_id: String

Session identifier

path: String

Full path

add_columns: Vec<ColumnMeta>

Columns (name, type) to add

drop_columns: Vec<String>

Columns to remove

operation_params: Option<OperationParams>alter_columns: Vec<ColumnMeta>

Columns to alter

add_indexes: Vec<TableIndex>

Add secondary indexes

drop_indexes: Vec<String>

Remove secondary indexes

alter_storage_settings: Option<StorageSettings>

Change table storage settings

add_column_families: Vec<ColumnFamily>

Add/alter column families

alter_column_families: Vec<ColumnFamily>alter_attributes: HashMap<String, String>

Alter attributes. Leave the value blank to drop an attribute. Cannot be used in combination with other fields (except session_id and path) at the moment.

set_compaction_policy: String

Set predefined named set of settings for table compaction [“default”, “small_table”, “log_table”]. Set “default” to use default preset.

alter_partitioning_settings: Option<PartitioningSettings>

Change table partitioning settings

set_key_bloom_filter: i32

Enable/disable bloom filter by key

set_read_replicas_settings: Option<ReadReplicasSettings>

Set read replicas settings for table

add_changefeeds: Vec<Changefeed>

Add change feeds

drop_changefeeds: Vec<String>

Remove change feeds (by its names)

rename_indexes: Vec<RenameIndexItem>

Rename existed index

ttl_action: Option<TtlAction>

Setup or remove time to live settings

Implementations

Returns the enum value of set_key_bloom_filter, or the default if the field is set to an invalid enum value.

Sets set_key_bloom_filter to the provided enum value.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Returns the encoded length of the message without a length delimiter.
Clears the message, resetting all fields to their default.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self. Read more
Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more