Interface StringTerm

All Superinterfaces:
QueryTerm

public interface StringTerm extends QueryTerm

A term for a String query.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the string in the term.
    Gets the string match type in the term.

    Methods inherited from interface QueryTerm

    isPositive, isWildcard
    Modifier and Type
    Method
    Description
    boolean
    Tests if this is a positive or negative term.
    boolean
    Tests if this term is a wildcard.
  • Method Details

    • getString

      String getString()
      Gets the string in the term.
      Returns:
      the string
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.
    • getStringMatchType

      Type getStringMatchType()
      Gets the string match type in the term.
      Returns:
      the string match type
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.