@Internal public class SortQueryOperation extends Object implements QueryOperation
Constructor and Description |
---|
SortQueryOperation(List<ResolvedExpression> order,
QueryOperation child) |
SortQueryOperation(List<ResolvedExpression> order,
QueryOperation child,
int offset,
int fetch) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(QueryOperationVisitor<T> visitor) |
String |
asSerializableString()
Returns a string that fully serializes this instance.
|
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
QueryOperation |
getChild() |
List<QueryOperation> |
getChildren() |
int |
getFetch() |
int |
getOffset() |
List<ResolvedExpression> |
getOrder() |
ResolvedSchema |
getResolvedSchema()
Resolved schema of this operation.
|
public SortQueryOperation(List<ResolvedExpression> order, QueryOperation child)
public SortQueryOperation(List<ResolvedExpression> order, QueryOperation child, int offset, int fetch)
public List<ResolvedExpression> getOrder()
public QueryOperation getChild()
public int getOffset()
public int getFetch()
public ResolvedSchema getResolvedSchema()
QueryOperation
getResolvedSchema
in interface QueryOperation
public String asSummaryString()
Operation
asSummaryString
in interface Operation
public String asSerializableString()
QueryOperation
Catalog
as a view.asSerializableString
in interface QueryOperation
Operation.asSummaryString()
public List<QueryOperation> getChildren()
getChildren
in interface QueryOperation
public <T> T accept(QueryOperationVisitor<T> visitor)
accept
in interface QueryOperation
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.