Class StringValue
- java.lang.Object
-
- com.yahoo.search.grouping.request.GroupingNode
-
- com.yahoo.search.grouping.request.GroupingExpression
-
- com.yahoo.search.grouping.request.ConstantValue<String>
-
- com.yahoo.search.grouping.request.StringValue
-
public class StringValue extends ConstantValue<String>
This class represents a constantString
value in aGroupingExpression
.- Author:
- Simon Thoresen Hult, bratseth
-
-
Constructor Summary
Constructors Constructor Description StringValue(String value)
Constructs a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringValue
copy()
Returns a deep copy of this-
Methods inherited from class com.yahoo.search.grouping.request.ConstantValue
getValue
-
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 Detail
-
StringValue
public StringValue(String value)
Constructs a new instance of this class.- Parameters:
value
- The immutable value to assign to this.
-
-
Method Detail
-
copy
public StringValue copy()
Description copied from class:GroupingExpression
Returns a deep copy of this- Specified by:
copy
in classConstantValue<String>
-
-