libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.Types.SortCriterion

Description

 
Synopsis

Documentation

data SortCriterion Source #

Specifies a field to sort by and a sort order.

See: newSortCriterion smart constructor.

Constructors

SortCriterion' 

Fields

Instances

Instances details
Eq SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

Read SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

Show SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

Generic SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

Associated Types

type Rep SortCriterion :: Type -> Type #

NFData SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

Methods

rnf :: SortCriterion -> () #

Hashable SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

ToJSON SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

type Rep SortCriterion Source # 
Instance details

Defined in Amazonka.Glue.Types.SortCriterion

type Rep SortCriterion = D1 ('MetaData "SortCriterion" "Amazonka.Glue.Types.SortCriterion" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "SortCriterion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Sort)) :*: S1 ('MetaSel ('Just "fieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSortCriterion :: SortCriterion Source #

Create a value of SortCriterion 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:sort:SortCriterion', sortCriterion_sort - An ascending or descending sort.

$sel:fieldName:SortCriterion', sortCriterion_fieldName - The name of the field on which to sort.

sortCriterion_sort :: Lens' SortCriterion (Maybe Sort) Source #

An ascending or descending sort.

sortCriterion_fieldName :: Lens' SortCriterion (Maybe Text) Source #

The name of the field on which to sort.