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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SortCriterion as input to an Aws::Client method, you can use a vanilla 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)

    The name of the field on which to sort.

#sortString

An ascending or descending sort.

Possible values:

  • ASC
  • DESC

Returns:

  • (String)

    An ascending or descending sort.