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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass Segment data as a 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.

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)


4719
4720
4721
4722
4723
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4719

class Segment < Struct.new(
  :segment_number,
  :total_segments)
  include Aws::Structure
end

#total_segmentsInteger

The total numer of segments.

Returns:

  • (Integer)


4719
4720
4721
4722
4723
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4719

class Segment < Struct.new(
  :segment_number,
  :total_segments)
  include Aws::Structure
end