Class ConstantValue<T extends Comparable>
java.lang.Object
com.yahoo.search.grouping.request.GroupingNode
com.yahoo.search.grouping.request.GroupingExpression
com.yahoo.search.grouping.request.ConstantValue<T>
- Direct Known Subclasses:
BooleanValue,DoubleValue,InfiniteValue,LongValue,RawValue,StringValue
This class represents a constant value in a
GroupingExpression. Because it does not operate on any input,
this expression type can be used at any input level (see GroupingExpression.resolveLevel(int)). All supported
data types are represented as subclasses of this.- Author:
- Simon Thoresen Hult, bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ConstantValuecopy()Returns a deep copy of thisgetValue()Returns the constant value of thisMethods inherited from class com.yahoo.search.grouping.request.GroupingExpression
asImage, asString, getLevel, getLevelOrNull, resolveLevel, setLabel, visitMethods inherited from class com.yahoo.search.grouping.request.GroupingNode
getImage, getLabel, toString
-
Constructor Details
-
ConstantValue
-
-
Method Details
-
copy
Description copied from class:GroupingExpressionReturns a deep copy of this- Specified by:
copyin classGroupingExpression
-
getValue
Returns the constant value of this
-