Class AbstractStringPattern
java.lang.Object
org.elasticsearch.xpack.esql.core.expression.predicate.regex.AbstractStringPattern
- All Implemented Interfaces:
StringPattern
- Direct Known Subclasses:
RLikePattern,WildcardPattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.lucene.util.automaton.AutomatonReturns the match if this pattern is exact, that is has no wildcard or other patterns inside.booleanHint method on whether this pattern matches everything or not.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.esql.core.expression.predicate.regex.StringPattern
asJavaRegex, pattern
-
Constructor Details
-
AbstractStringPattern
public AbstractStringPattern()
-
-
Method Details
-
createAutomaton
public abstract org.apache.lucene.util.automaton.Automaton createAutomaton() -
matchesAll
public boolean matchesAll()Description copied from interface:StringPatternHint method on whether this pattern matches everything or not.- Specified by:
matchesAllin interfaceStringPattern
-
exactMatch
Description copied from interface:StringPatternReturns 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:
exactMatchin interfaceStringPattern
-