You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::Segment

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Segment as input to an Aws::Client method, you can use a vanilla Hash:

{
  segment_number: 1, # required
  total_segments: 1, # required
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#segment_numberInteger

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

Returns:

  • (Integer)

    The zero-based index number of the this segment.

#total_segmentsInteger

The total numer of segments.

Returns:

  • (Integer)

    The total numer of segments.