AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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 segment. For example, if the total number of segments is 4, SegmentNumber values range from 0 through 3.

Returns:

  • (Integer)

    The zero-based index number of the segment.

#total_segmentsInteger

The total number of segments.

Returns:

  • (Integer)

    The total number of segments.