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

Description

 
Synopsis

Documentation

data Segment Source #

Defines a non-overlapping region of a table's partitions, allowing multiple requests to be run in parallel.

See: newSegment smart constructor.

Constructors

Segment' 

Fields

  • segmentNumber :: Natural

    The zero-based index number of the segment. For example, if the total number of segments is 4, SegmentNumber values range from 0 through 3.

  • totalSegments :: Natural

    The total number of segments.

Instances

Instances details
Eq Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

Methods

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

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

Read Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

Show Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

Generic Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

Associated Types

type Rep Segment :: Type -> Type #

Methods

from :: Segment -> Rep Segment x #

to :: Rep Segment x -> Segment #

NFData Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

Methods

rnf :: Segment -> () #

Hashable Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

Methods

hashWithSalt :: Int -> Segment -> Int #

hash :: Segment -> Int #

ToJSON Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

type Rep Segment Source # 
Instance details

Defined in Amazonka.Glue.Types.Segment

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

newSegment Source #

Create a value of Segment 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:segmentNumber:Segment', segment_segmentNumber - The zero-based index number of the segment. For example, if the total number of segments is 4, SegmentNumber values range from 0 through 3.

$sel:totalSegments:Segment', segment_totalSegments - The total number of segments.

segment_segmentNumber :: Lens' Segment Natural Source #

The zero-based index number of the segment. For example, if the total number of segments is 4, SegmentNumber values range from 0 through 3.

segment_totalSegments :: Lens' Segment Natural Source #

The total number of segments.