java.lang.Object
org.elasticsearch.xpack.esql.core.expression.predicate.regex.AbstractStringPattern
All Implemented Interfaces:
StringPattern
Direct Known Subclasses:
RLikePattern, WildcardPattern, WildcardPatternList

public abstract class AbstractStringPattern extends Object implements StringPattern
  • Constructor Details

    • AbstractStringPattern

      public AbstractStringPattern()
  • Method Details

    • createAutomaton

      public abstract org.apache.lucene.util.automaton.Automaton createAutomaton(boolean ignoreCase)
    • matchesAll

      public boolean matchesAll()
      Description copied from interface: StringPattern
      Hint method on whether this pattern matches everything or not.
      Specified by:
      matchesAll in interface StringPattern
    • exactMatch

      public String exactMatch()
      Description copied from interface: StringPattern
      Returns the match if this pattern is exact, that is has no wildcard or other patterns inside. If the pattern is not exact, null is returned.
      Specified by:
      exactMatch in interface StringPattern