Package | Description |
---|---|
com.yahoo.bard.webservice.druid.model.orderby | |
com.yahoo.bard.webservice.web.apirequest |
Modifier and Type | Method and Description |
---|---|
LinkedHashSet<OrderByColumn> |
LimitSpec.getColumns()
Getter for columns.
|
Modifier and Type | Method and Description |
---|---|
LimitSpec |
LimitSpec.withColumns(LinkedHashSet<OrderByColumn> sortColumns) |
Constructor and Description |
---|
LimitSpec(LinkedHashSet<OrderByColumn> sortColumns)
Constructor.
|
LimitSpec(LinkedHashSet<OrderByColumn> sortColumns,
OptionalInt limit)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<OrderByColumn> |
DataApiRequestImpl.generateDateTimeSortColumn(LinkedHashMap<String,SortDirection> sortColumns)
Method to generate DateTime sort column from the map of columns and its direction.
|
protected LinkedHashSet<OrderByColumn> |
DataApiRequestImpl.generateSortColumns(Map<String,SortDirection> sortDirectionMap,
Set<LogicalMetric> logicalMetrics,
MetricDictionary metricDictionary)
Generates a Set of OrderByColumn.
|
Optional<OrderByColumn> |
DataApiRequest.getDateTimeSort()
An optional sorting predicate for the time column.
|
Optional<OrderByColumn> |
DataApiRequestImpl.getDateTimeSort() |
LinkedHashSet<OrderByColumn> |
DataApiRequest.getSorts()
A prioritized list of sort columns.
|
LinkedHashSet<OrderByColumn> |
DataApiRequestImpl.getSorts() |
Modifier and Type | Method and Description |
---|---|
DataApiRequestImpl |
DataApiRequest.withSorts(LinkedHashSet<OrderByColumn> sorts) |
DataApiRequestImpl |
DataApiRequestImpl.withSorts(LinkedHashSet<OrderByColumn> sorts) |
Constructor and Description |
---|
DataApiRequestImpl(ResponseFormatType format,
Optional<PaginationParameters> paginationParameters,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Response.ResponseBuilder builder,
LogicalTable table,
Granularity granularity,
Set<Dimension> dimensions,
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> perDimensionFields,
Set<LogicalMetric> logicalMetrics,
Set<org.joda.time.Interval> intervals,
ApiFilters apiFilters,
Map<LogicalMetric,Set<ApiHaving>> havings,
Having having,
LinkedHashSet<OrderByColumn> sorts,
int count,
int topN,
long asyncAfter,
org.joda.time.DateTimeZone timeZone,
DruidFilterBuilder filterBuilder,
HavingGenerator havingApiGenerator,
Optional<OrderByColumn> dateTimeSort)
All argument constructor, meant to be used for rewriting apiRequest.
|
DataApiRequestImpl(ResponseFormatType format,
Optional<PaginationParameters> paginationParameters,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Response.ResponseBuilder builder,
LogicalTable table,
Granularity granularity,
Set<Dimension> dimensions,
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> perDimensionFields,
Set<LogicalMetric> logicalMetrics,
Set<org.joda.time.Interval> intervals,
ApiFilters apiFilters,
Map<LogicalMetric,Set<ApiHaving>> havings,
Having having,
LinkedHashSet<OrderByColumn> sorts,
int count,
int topN,
long asyncAfter,
org.joda.time.DateTimeZone timeZone,
DruidFilterBuilder filterBuilder,
HavingGenerator havingApiGenerator,
Optional<OrderByColumn> dateTimeSort)
All argument constructor, meant to be used for rewriting apiRequest.
|
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.