public class OrderByColumn extends Object
Constructor and Description |
---|
OrderByColumn(Aggregation aggregation,
SortDirection direction)
Constructor.
|
OrderByColumn(LogicalMetric metric,
SortDirection direction)
Constructor.
|
OrderByColumn(PostAggregation postAggregation,
SortDirection direction)
Constructor.
|
OrderByColumn(String column,
SortDirection direction)
Constructor which accepts generic column with direction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDimension()
Getter for sort column dimension.
|
SortDirection |
getDirection()
Getter for sort direction.
|
int |
hashCode() |
public OrderByColumn(LogicalMetric metric, SortDirection direction)
metric
- a LogicalMetricdirection
- sort direction
Note: Plan is to remove this LogicalMetric based constructor and have a DruidColumn based constructor.public OrderByColumn(Aggregation aggregation, SortDirection direction)
aggregation
- an Aggregationdirection
- sort directionpublic OrderByColumn(PostAggregation postAggregation, SortDirection direction)
postAggregation
- a PostAggregationdirection
- sort directionpublic OrderByColumn(String column, SortDirection direction)
column
- a column needs to be associated with the directiondirection
- sort directionpublic String getDimension()
public SortDirection getDirection()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.