Package com.yahoo.search.grouping.result
Class BucketGroupId<T>
java.lang.Object
com.yahoo.search.grouping.result.GroupId
com.yahoo.search.grouping.result.BucketGroupId<T>
- Direct Known Subclasses:
DoubleBucketId,LongBucketId,RawBucketId,StringBucketId
This abstract class is used in
Group instances where the identifying expression evaluated to a BucketValue. The range is inclusive-from and exclusive-to.- Author:
- Simon Thoresen Hult
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance of this class.BucketGroupId(String type, T from, T to) Constructs a new instance of this class. -
Method Summary
Methods inherited from class com.yahoo.search.grouping.result.GroupId
getTypeName, toString
-
Constructor Details
-
BucketGroupId
Constructs a new instance of this class.- Parameters:
type- The type of this id's value.from- The inclusive-from of the range.to- The exclusive-to of the range.
-
BucketGroupId
Constructs a new instance of this class.- Parameters:
type- The type of this id's value.from- The inclusive-from of the range.fromImage- The String representation of thefromargument.to- The exclusive-to of the range.toImage- The String representation of thetoargument.
-
-
Method Details
-
getFrom
Returns the inclusive-from of the value range.- Returns:
- The from-value.
-
getTo
Returns the exclusive-to of the value range.- Returns:
- The to-value.
-