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

Class: Aws::Glue::Types::SortCriterion

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 SortCriterion data as a hash:

{
  field_name: "ValueString",
  sort: "ASC", # accepts ASC, DESC
}

Specifies a field to sort by and a sort order.

Instance Attribute Summary collapse

Instance Attribute Details

#field_nameString

The name of the field on which to sort.

Returns:

  • (String)


9490
9491
9492
9493
9494
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9490

class SortCriterion < Struct.new(
  :field_name,
  :sort)
  include Aws::Structure
end

#sortString

An ascending or descending sort.

Returns:

  • (String)


9490
9491
9492
9493
9494
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 9490

class SortCriterion < Struct.new(
  :field_name,
  :sort)
  include Aws::Structure
end