Class AttributeValue

Direct Known Subclasses:
AttributeMapLookupValue

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

    • AttributeValue

      public AttributeValue(String attributeName)
      Constructs a new instance of this class.
      Parameters:
      attributeName - the attribute name to assign to this.
  • Method Details

    • copy

      public AttributeValue copy()
      Description copied from class: GroupingExpression
      Returns a deep copy of this
      Specified by:
      copy in class GroupingExpression
    • getAttributeName

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