public class BucketResolver extends Object
GroupingExpressionobjects. To resolve a list simply
push(ConstantValue, boolean)onto it, before calling
resolve(GroupingExpression)to retrieve the list of corresponding grouping expression object.
|Constructor and Description|
|Modifier and Type||Method and Description|
Pushes the given expression onto this bucket resolver.
Resolves and returns the list of grouping expressions that correspond to the previously pushed buckets.
public BucketResolver push(ConstantValue<?> val, boolean inclusive)
resolve(GroupingExpression)to retrieve to combined grouping expression.
val- The expression to push.
inclusive- Whether or not the value is inclusive or not.
IllegalArgumentException- Thrown if the expression is incompatible.
Copyright © 2018. All rights reserved.