Struct aws_sdk_keyspaces::model::SchemaDefinition
source · #[non_exhaustive]pub struct SchemaDefinition { /* private fields */ }
Expand description
Describes the schema of the table.
Implementations§
source§impl SchemaDefinition
impl SchemaDefinition
sourcepub fn all_columns(&self) -> Option<&[ColumnDefinition]>
pub fn all_columns(&self) -> Option<&[ColumnDefinition]>
The regular columns of the table.
sourcepub fn partition_keys(&self) -> Option<&[PartitionKey]>
pub fn partition_keys(&self) -> Option<&[PartitionKey]>
The columns that are part of the partition key of the table .
sourcepub fn clustering_keys(&self) -> Option<&[ClusteringKey]>
pub fn clustering_keys(&self) -> Option<&[ClusteringKey]>
The columns that are part of the clustering key of the table.
sourcepub fn static_columns(&self) -> Option<&[StaticColumn]>
pub fn static_columns(&self) -> Option<&[StaticColumn]>
The columns that have been defined as STATIC
. Static columns store values that are shared by all rows in the same partition.
source§impl SchemaDefinition
impl SchemaDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SchemaDefinition
.
Trait Implementations§
source§impl Clone for SchemaDefinition
impl Clone for SchemaDefinition
source§fn clone(&self) -> SchemaDefinition
fn clone(&self) -> SchemaDefinition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more