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

  • Object
show all
Defined in:



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


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.


  • (Integer)

    The zero-based index number of the segment.


The total number of segments.


  • (Integer)

    The total number of segments.