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
public abstract class BucketGroupId<T> extends GroupId
This abstract class is used inGroup
instances where the identifying expression evaluated to aBucketValue
. The range is inclusive-from and exclusive-to.- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description BucketGroupId(String type, T from, String fromImage, T to, String toImage)
Constructs a new instance of this class.BucketGroupId(String type, T from, T to)
Constructs a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getFrom()
Returns the inclusive-from of the value range.T
getTo()
Returns the exclusive-to of the value range.-
Methods inherited from class com.yahoo.search.grouping.result.GroupId
getTypeName, toString
-
-
-
-
Constructor Detail
-
BucketGroupId
public BucketGroupId(String type, T from, T to)
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
public BucketGroupId(String type, T from, String fromImage, T to, String toImage)
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 thefrom
argument.to
- The exclusive-to of the range.toImage
- The String representation of theto
argument.
-
-