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

Returns:

  • (Integer)


9391
9392
9393
9394
9395
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9391

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

#total_segmentsInteger

The total number of segments.

Returns:

  • (Integer)


9391
9392
9393
9394
9395
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9391

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