public class Sorting extends Object
| Modifier and Type | Method and Description |
|---|---|
static Sorting |
create(List<OrderByColumnSpec> orderBys,
OffsetLimit offsetLimit,
Projection projection) |
boolean |
equals(Object o) |
OffsetLimit |
getOffsetLimit() |
List<OrderByColumnSpec> |
getOrderBys() |
Projection |
getProjection() |
org.apache.druid.sql.calcite.rel.Sorting.SortKind |
getTimeSortKind(String timeColumn) |
int |
hashCode() |
LimitSpec |
limitSpec()
Returns a LimitSpec that encapsulates the orderBys, offset, and limit of this Sorting instance.
|
static Sorting |
none() |
String |
toString() |
public static Sorting create(List<OrderByColumnSpec> orderBys, OffsetLimit offsetLimit, @Nullable Projection projection)
public static Sorting none()
public org.apache.druid.sql.calcite.rel.Sorting.SortKind getTimeSortKind(String timeColumn)
public List<OrderByColumnSpec> getOrderBys()
@Nullable public Projection getProjection()
public OffsetLimit getOffsetLimit()
public LimitSpec limitSpec()
getProjection() for that.Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.