gravitino.api.expressions.sorts.sort_order.SortOrder¶
- class gravitino.api.expressions.sorts.sort_order.SortOrder¶
Bases:
Expression,ABCRepresents a sort order in the public expression API.
- __init__()¶
Methods
__init__()children()Returns the children expressions of this sort order.
Returns the sort direction.
Returns the sort expression.
Returns the null ordering.
Returns a list of fields or columns that are referenced by this expression.
Attributes
EMPTY_EXPRESSION is only used as an input when the default children method builds the result.
EMPTY_NAMED_REFERENCE is only used as an input when the default references method builds the result array to avoid repeatedly allocating an empty array.
- EMPTY_EXPRESSION: List[Expression] = []¶
EMPTY_EXPRESSION is only used as an input when the default children method builds the result.
- EMPTY_NAMED_REFERENCE: List[NamedReference] = []¶
EMPTY_NAMED_REFERENCE is only used as an input when the default references method builds the result array to avoid repeatedly allocating an empty array.
- children() List[Expression]¶
Returns the children expressions of this sort order.
- abstract direction() SortDirection¶
Returns the sort direction.
- abstract expression() Expression¶
Returns the sort expression.
- abstract null_ordering() NullOrdering¶
Returns the null ordering.
- references() List[NamedReference]¶
Returns a list of fields or columns that are referenced by this expression.