Class AttributeFunction


  • public class AttributeFunction
    extends DocumentValue
    This class represents a document attribute function in a GroupingExpression. It evaluates to the value of the named attribute in the input Hit.
    Author:
    Simon Thoresen Hult, bratseth
    • Constructor Detail

      • AttributeFunction

        public AttributeFunction​(java.lang.String attributeName)
        Constructs a new instance of this class.
        Parameters:
        attributeName - the attribute name to assign to this.
    • Method Detail

      • getAttributeName

        public java.lang.String getAttributeName()
        Returns the name of the attribute to retrieve from the input hit.
        Returns:
        the attribute name.