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