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.ClusteringKey

Description

 
Synopsis

Documentation

data ClusteringKey Source #

The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.

See: newClusteringKey smart constructor.

Constructors

ClusteringKey' 

Fields

  • name :: Text

    The name(s) of the clustering column(s).

  • orderBy :: SortOrder

    Sets the ascendant (ASC) or descendant (DESC) order modifier.

Instances

Instances details
FromJSON ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

ToJSON ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Generic ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Associated Types

type Rep ClusteringKey :: Type -> Type #

Read ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Show ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

NFData ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Methods

rnf :: ClusteringKey -> () #

Eq ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

Hashable ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

type Rep ClusteringKey Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.ClusteringKey

type Rep ClusteringKey = D1 ('MetaData "ClusteringKey" "Amazonka.KeySpaces.Types.ClusteringKey" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "ClusteringKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "orderBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SortOrder)))

newClusteringKey Source #

Create a value of ClusteringKey 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:name:ClusteringKey', clusteringKey_name - The name(s) of the clustering column(s).

$sel:orderBy:ClusteringKey', clusteringKey_orderBy - Sets the ascendant (ASC) or descendant (DESC) order modifier.

clusteringKey_name :: Lens' ClusteringKey Text Source #

The name(s) of the clustering column(s).

clusteringKey_orderBy :: Lens' ClusteringKey SortOrder Source #

Sets the ascendant (ASC) or descendant (DESC) order modifier.