Class UnresolvedNamePattern
java.lang.Object
org.elasticsearch.xpack.esql.core.tree.Node<Expression>
org.elasticsearch.xpack.esql.core.expression.Expression
org.elasticsearch.xpack.esql.core.expression.NamedExpression
org.elasticsearch.xpack.esql.core.expression.UnresolvedNamedExpression
org.elasticsearch.xpack.esql.expression.UnresolvedNamePattern
- All Implemented Interfaces:
NamedWriteable,Writeable,Resolvable,Unresolvable
Unresolved expression for encapsulating a pattern:
KEEP `a*`, b*, `c*`*`d*`
a* is an actual name (UnresolvedAttribute)
b* is a name pattern (this class)
`c*`*`d*` is a name pattern
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
Expression.TypeResolutionNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xpack.esql.core.capabilities.Unresolvable
UNRESOLVED_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionUnresolvedNamePattern(Source source, org.apache.lucene.util.automaton.CharacterRunAutomaton automaton, String patternString, String name) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringerrorMessage(String pattern, List<String> potentialMatches) inthashCode()protected NodeInfo<UnresolvedNamePattern> info()protected booleanbooleanname()nullable()pattern()replaceChildren(List<Expression> newChildren) toString()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.esql.core.expression.UnresolvedNamedExpression
dataType, id, resolved, toAttributeMethods inherited from class org.elasticsearch.xpack.esql.core.expression.NamedExpression
equals, syntheticMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
canonical, canonicalize, childrenResolved, fold, foldable, propertiesToString, references, resolveType, semanticEquals, semanticHash, typeResolvedMethods inherited from class org.elasticsearch.xpack.esql.core.tree.Node
anyMatch, children, collect, collectFirstChildren, collectLeaves, doCollectFirst, forEachDown, forEachDown, forEachDownMayReturnEarly, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, nodeName, nodeProperties, replaceChildrenSameSize, source, sourceLocation, sourceText, transformChildren, transformDown, transformDown, transformDown, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp, transformUp
-
Constructor Details
-
UnresolvedNamePattern
-
-
Method Details
-
writeTo
- Throws:
IOException
-
getWriteableName
-
match
-
name
- Overrides:
namein classUnresolvedNamedExpression
-
pattern
-
replaceChildren
- Specified by:
replaceChildrenin classNode<Expression>
-
info
- Specified by:
infoin classNode<Expression>
-
unresolvedMessage
-
errorMessage
-
nullable
- Specified by:
nullablein classExpression
-
hashCode
public int hashCode()- Overrides:
hashCodein classNamedExpression
-
innerEquals
- Overrides:
innerEqualsin classNamedExpression
-
nodeString
- Overrides:
nodeStringin classNamedExpression
-
toString
- Overrides:
toStringin classNamedExpression
-