Package | Description |
---|---|
com.yahoo.bard.webservice.data | |
com.yahoo.bard.webservice.web | |
com.yahoo.bard.webservice.web.apirequest |
Modifier and Type | Method and Description |
---|---|
static Having |
DruidHavingBuilder.buildHaving(LogicalMetric metric,
ApiHaving having)
Create a list of NumericHavings for the values specified and OR them together.
|
Modifier and Type | Method and Description |
---|---|
static Having |
DruidHavingBuilder.buildHavings(Map<LogicalMetric,Set<ApiHaving>> metricMap)
Build a having model that ANDs together having queries for each of the metrics.
|
static Having |
DruidHavingBuilder.buildMetricHaving(LogicalMetric metric,
Set<ApiHaving> havings)
Build a Having for all the having queries for a single metric, ANDing them together.
|
Modifier and Type | Method and Description |
---|---|
ApiHaving |
ApiHaving.withLogicalMetric(LogicalMetric metric) |
ApiHaving |
ApiHaving.withOperation(HavingOperation operation) |
ApiHaving |
ApiHaving.withValues(List<Double> values) |
Modifier and Type | Method and Description |
---|---|
Map<LogicalMetric,Set<ApiHaving>> |
DefaultHavingApiGenerator.apply(String havingQuery,
Set<LogicalMetric> logicalMetrics)
Generates having objects based on the having query in the api request.
|
Map<LogicalMetric,Set<ApiHaving>> |
PerRequestDictionaryHavingGenerator.apply(String havingString,
Set<LogicalMetric> logicalMetrics)
Wrap the enclosed having generator in a query scoped metric dictionary.
|
Map<LogicalMetric,Set<ApiHaving>> |
DataApiRequest.getHavings()
The having constraints for this request, grouped by logical metrics.
|
Map<LogicalMetric,Set<ApiHaving>> |
DataApiRequestImpl.getHavings() |
Modifier and Type | Method and Description |
---|---|
DataApiRequestImpl |
DataApiRequest.withHavings(Map<LogicalMetric,Set<ApiHaving>> havings) |
DataApiRequestImpl |
DataApiRequestImpl.withHavings(Map<LogicalMetric,Set<ApiHaving>> havings) |
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.
|
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.