amazonka-keyspaces-2.0: Amazon Keyspaces SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.KeySpaces.Types.SchemaDefinition

Description

 
Synopsis

Documentation

data SchemaDefinition Source #

Describes the schema of the table.

See: newSchemaDefinition smart constructor.

Constructors

SchemaDefinition' 

Fields

Instances

Instances details
FromJSON SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

ToJSON SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Generic SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Associated Types

type Rep SchemaDefinition :: Type -> Type #

Read SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Show SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

NFData SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Methods

rnf :: SchemaDefinition -> () #

Eq SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

Hashable SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

type Rep SchemaDefinition Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.SchemaDefinition

type Rep SchemaDefinition = D1 ('MetaData "SchemaDefinition" "Amazonka.KeySpaces.Types.SchemaDefinition" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "SchemaDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusteringKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClusteringKey])) :*: S1 ('MetaSel ('Just "staticColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StaticColumn]))) :*: (S1 ('MetaSel ('Just "allColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ColumnDefinition)) :*: S1 ('MetaSel ('Just "partitionKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty PartitionKey)))))

newSchemaDefinition Source #

Create a value of SchemaDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clusteringKeys:SchemaDefinition', schemaDefinition_clusteringKeys - The columns that are part of the clustering key of the table.

$sel:staticColumns:SchemaDefinition', schemaDefinition_staticColumns - The columns that have been defined as STATIC. Static columns store values that are shared by all rows in the same partition.

$sel:allColumns:SchemaDefinition', schemaDefinition_allColumns - The regular columns of the table.

$sel:partitionKeys:SchemaDefinition', schemaDefinition_partitionKeys - The columns that are part of the partition key of the table .

schemaDefinition_clusteringKeys :: Lens' SchemaDefinition (Maybe [ClusteringKey]) Source #

The columns that are part of the clustering key of the table.

schemaDefinition_staticColumns :: Lens' SchemaDefinition (Maybe [StaticColumn]) Source #

The columns that have been defined as STATIC. Static columns store values that are shared by all rows in the same partition.

schemaDefinition_partitionKeys :: Lens' SchemaDefinition (NonEmpty PartitionKey) Source #

The columns that are part of the partition key of the table .