SchemaDefinition
¶
Used by
-
AsyncKeyspacesClient Operationscreate_table -
KeyspacesClient Operationscreate_table
Source code in docs_src/capo_keyspaces/types/schema_definition.py
all_columns
instance-attribute
¶
all_columns: ColumnDefinitionList
The regular columns of the table.
clustering_keys
instance-attribute
¶
clustering_keys: NotRequired[ClusteringKeyList]
The columns that are part of the clustering key of the table.
partition_keys
instance-attribute
¶
partition_keys: PartitionKeyList
The columns that are part of the partition key of the table .
static_columns
instance-attribute
¶
static_columns: NotRequired[StaticColumnList]
The columns that have been defined as STATIC. Static columns store values that are shared by all rows in the same partition.