Sort

class oci.data_integration.models.Sort(**kwargs)

Bases: oci.data_integration.models.push_down_operation.PushDownOperation

The information about the sort object.

Attributes

MODEL_TYPE_FILTER str(object=’’) -> str
MODEL_TYPE_JOIN str(object=’’) -> str
MODEL_TYPE_QUERY str(object=’’) -> str
MODEL_TYPE_SELECT str(object=’’) -> str
MODEL_TYPE_SORT str(object=’’) -> str
model_type [Required] Gets the model_type of this PushDownOperation.
sort_clauses Gets the sort_clauses of this Sort.

Methods

__init__(**kwargs) Initializes a new Sort object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
MODEL_TYPE_FILTER = 'FILTER'
MODEL_TYPE_JOIN = 'JOIN'
MODEL_TYPE_QUERY = 'QUERY'
MODEL_TYPE_SELECT = 'SELECT'
MODEL_TYPE_SORT = 'SORT'
__init__(**kwargs)

Initializes a new Sort object with values from keyword arguments. The default value of the model_type attribute of this class is SORT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • model_type (str) – The value to assign to the model_type property of this Sort. Allowed values for this property are: “FILTER”, “JOIN”, “SELECT”, “SORT”, “QUERY”
  • sort_clauses (list[oci.data_integration.models.SortClause]) – The value to assign to the sort_clauses property of this Sort.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

model_type

[Required] Gets the model_type of this PushDownOperation. The type of operation.

Allowed values for this property are: “FILTER”, “JOIN”, “SELECT”, “SORT”, “QUERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The model_type of this PushDownOperation.
Return type:str
sort_clauses

Gets the sort_clauses of this Sort. The sort clause.

Returns:The sort_clauses of this Sort.
Return type:list[oci.data_integration.models.SortClause]