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 class org.elasticsearch.xpack.esql.core.tree.Node
TO_STRING_MAX_WIDTHFields 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) protected NodeInfo<UnresolvedNamePattern> info()protected booleaninnerEquals(Object o, boolean ignoreIds) protected intinnerHashCode(boolean ignoreIds) booleanname()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, equals, hashCode, hashCode, 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
-
innerHashCode
protected int innerHashCode(boolean ignoreIds) - Overrides:
innerHashCodein classNamedExpression
-
innerEquals
- Overrides:
innerEqualsin classNamedExpression
-
nodeString
- Overrides:
nodeStringin classNamedExpression
-
toString
- Overrides:
toStringin classNamedExpression
-