Class RawBucket
java.lang.Object
com.yahoo.search.grouping.request.GroupingNode
com.yahoo.search.grouping.request.GroupingExpression
com.yahoo.search.grouping.request.BucketValue
com.yahoo.search.grouping.request.RawBucket
- All Implemented Interfaces:
Comparable<BucketValue>
This class represents a
RawValue
bucket in a PredefinedFunction
.- Author:
- Ulf Lilleengen
-
Constructor Summary
ConstructorDescriptionRawBucket
(ConstantValue<?> from, ConstantValue<?> to) Constructs a new instance of this class.Constructs a new instance of this class. -
Method Summary
Methods inherited from class com.yahoo.search.grouping.request.BucketValue
compareTo, equals, getFrom, getTo, hashCode
Methods inherited from class com.yahoo.search.grouping.request.GroupingExpression
asImage, asString, getLevel, getLevelOrNull, resolveLevel, setLabel, visit
Methods inherited from class com.yahoo.search.grouping.request.GroupingNode
getImage, getLabel, toString
-
Constructor Details
-
RawBucket
Constructs a new instance of this class.- Parameters:
from
- The from-value to assign to this.to
- The to-value to assign to this.
-
RawBucket
Constructs a new instance of this class.- Parameters:
from
- The from-value to assign to this.to
- The to-value to assign to this.
-
-
Method Details
-
nextValue
Get the next distinct value.- Parameters:
value
- The base value.- Returns:
- the next value.
-
copy
Description copied from class:GroupingExpression
Returns a deep copy of this- Overrides:
copy
in classBucketValue
-