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

Description

 
Synopsis

Documentation

data Order Source #

Specifies the sort order of a sorted column.

See: newOrder smart constructor.

Constructors

Order' 

Fields

  • column :: Text

    The name of the column.

  • sortOrder :: Natural

    Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).

Instances

Instances details
Eq Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

Methods

(==) :: Order -> Order -> Bool #

(/=) :: Order -> Order -> Bool #

Read Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

Show Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

Methods

showsPrec :: Int -> Order -> ShowS #

show :: Order -> String #

showList :: [Order] -> ShowS #

Generic Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

Associated Types

type Rep Order :: Type -> Type #

Methods

from :: Order -> Rep Order x #

to :: Rep Order x -> Order #

NFData Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

Methods

rnf :: Order -> () #

Hashable Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

Methods

hashWithSalt :: Int -> Order -> Int #

hash :: Order -> Int #

ToJSON Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

FromJSON Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

type Rep Order Source # 
Instance details

Defined in Amazonka.Glue.Types.Order

type Rep Order = D1 ('MetaData "Order" "Amazonka.Glue.Types.Order" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "Order'" 'PrefixI 'True) (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newOrder Source #

Create a value of Order 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:column:Order', order_column - The name of the column.

$sel:sortOrder:Order', order_sortOrder - Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).

order_column :: Lens' Order Text Source #

The name of the column.

order_sortOrder :: Lens' Order Natural Source #

Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).