gravitino.api.expressions.sorts.sort_orders.SortImpl¶
- class gravitino.api.expressions.sorts.sort_orders.SortImpl(expression: Expression, direction: SortDirection, null_ordering: NullOrdering)¶
Bases:
SortOrder- __init__(expression: Expression, direction: SortDirection, null_ordering: NullOrdering)¶
Initialize the SortImpl object.
Methods
__init__(expression, direction, null_ordering)Initialize the SortImpl object.
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.
- direction() SortDirection¶
Returns the sort direction.
- expression() Expression¶
Returns the sort expression.
- null_ordering() NullOrdering¶
Returns the null ordering.
- references() List[NamedReference]¶
Returns a list of fields or columns that are referenced by this expression.