public class AttributeValue extends DocumentValue
GroupingExpression
. It evaluates to the value of the
named attribute in the input Hit
.Constructor and Description |
---|
AttributeValue(String attributeName)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue |
copy()
Returns a deep copy of this
|
String |
getAttributeName()
Returns the name of the attribute to retrieve from the input hit.
|
resolveLevel
asImage, asString, getLevel, getLevelOrNull, setLabel, visit
getImage, getLabel, toString
public AttributeValue(String attributeName)
attributeName
- the attribute name to assign to this.public AttributeValue copy()
GroupingExpression
copy
in class GroupingExpression
public String getAttributeName()
Copyright © 2018. All rights reserved.