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.

Constant Summary collapse

SENSITIVE =
[]

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)


10958
10959
10960
10961
10962
10963
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 10958

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

#total_segmentsInteger

The total number of segments.

Returns:

  • (Integer)


10958
10959
10960
10961
10962
10963
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 10958

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