| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.Types.Segment
Description
Synopsis
- data Segment = Segment' {}
- newSegment :: Natural -> Natural -> Segment
- segment_segmentNumber :: Lens' Segment Natural
- segment_totalSegments :: Lens' Segment Natural
Documentation
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
| |
Instances
| ToJSON Segment Source # | |
Defined in Amazonka.Glue.Types.Segment | |
| Generic Segment Source # | |
| Read Segment Source # | |
| Show Segment Source # | |
| NFData Segment Source # | |
Defined in Amazonka.Glue.Types.Segment | |
| Eq Segment Source # | |
| Hashable Segment Source # | |
Defined in Amazonka.Glue.Types.Segment | |
| type Rep Segment Source # | |
Defined in Amazonka.Glue.Types.Segment type Rep Segment = D1 ('MetaData "Segment" "Amazonka.Glue.Types.Segment" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "Segment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "segmentNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "totalSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))) | |
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.