public class PerRequestDictionaryHavingGenerator extends Object implements HavingGenerator
Constructor and Description |
---|
PerRequestDictionaryHavingGenerator(DefaultHavingApiGenerator havingGenerator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<LogicalMetric,Set<ApiHaving>> |
apply(String havingString,
Set<LogicalMetric> logicalMetrics)
Wrap the enclosed having generator in a query scoped metric dictionary.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen
public PerRequestDictionaryHavingGenerator(DefaultHavingApiGenerator havingGenerator)
havingGenerator
- A default having generator to decorate.public Map<LogicalMetric,Set<ApiHaving>> apply(String havingString, Set<LogicalMetric> logicalMetrics)
apply
in interface BiFunction<String,Set<LogicalMetric>,Map<LogicalMetric,Set<ApiHaving>>>
havingString
- The having clause from the URIlogicalMetrics
- The set of metrics providedCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.