Class ScopeVector

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class ScopeVector
    extends FieldExpression
    Produces a multi-value field extracting the specified scope from the requested field.

    NOTE: this differs from ScopeField as it does not perform any highlighting and is therefore suitable for use in facet requests.

    See Also:
    Serialized Form
    • Constructor Detail

      • ScopeVector

        public ScopeVector​(java.lang.String fieldName,
                           java.lang.String scopeName)
    • Method Detail

      • isConstant

        public boolean isConstant()
        Returns true if this field expression evaluates to a constant value.
        Specified by:
        isConstant in class FieldExpression
      • hasChildren

        public boolean hasChildren()
        Returns true if this field expression has any sub FieldExpressions.
        Specified by:
        hasChildren in class FieldExpression
      • getFieldName

        public java.lang.String getFieldName()
        Get the name of the field to return values for.
        Overrides:
        getFieldName in class FieldExpression
      • setFieldName

        public void setFieldName​(java.lang.String value)
        Set the name of the field to return.
      • getScopeName

        public java.lang.String getScopeName()
      • setScopeName

        public void setScopeName​(java.lang.String value)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object