Interface SortOrder
- All Superinterfaces:
Expression
Represents a sort order in the public expression API.
- Since:
- 3.2.0
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Method Summary
Modifier and TypeMethodDescriptiondefault Expression[]
children()
Returns an array of the children of this node.Returns the sort direction.Returns the sort expression.Returns the null ordering.Methods inherited from interface org.apache.spark.sql.connector.expressions.Expression
describe, references
-
Method Details
-
expression
Expression expression()Returns the sort expression. -
direction
SortDirection direction()Returns the sort direction. -
nullOrdering
NullOrdering nullOrdering()Returns the null ordering. -
children
Description copied from interface:Expression
Returns an array of the children of this node. Children should not change.- Specified by:
children
in interfaceExpression
-