public class DruidHavingBuilder extends Object
| Constructor and Description |
|---|
DruidHavingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Having |
buildHaving(LogicalMetric metric,
ApiHaving having)
Create a list of NumericHavings for the values specified and OR them together.
|
static Having |
buildHavings(Map<LogicalMetric,Set<ApiHaving>> metricMap)
Build a having model that ANDs together having queries for each of the metrics.
|
static Having |
buildMetricHaving(LogicalMetric metric,
Set<ApiHaving> havings)
Build a Having for all the having queries for a single metric, ANDing them together.
|
public static Having buildHavings(Map<LogicalMetric,Set<ApiHaving>> metricMap)
metricMap - A map of logical metric to the set of havings for that metricpublic static Having buildMetricHaving(LogicalMetric metric, Set<ApiHaving> havings)
metric - Metric for the having queryhavings - All having queries belonging to that metricpublic static Having buildHaving(LogicalMetric metric, ApiHaving having)
metric - The metric that the operation applied to.having - The ApiHaving objectCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.