Class Expressions
java.lang.Object
org.elasticsearch.xpack.esql.core.expression.Expressions
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.elasticsearch.core.Tuple<Attribute, Expression>> aliases(List<? extends NamedExpression> named) static booleananyMatch(List<? extends Expression> exps, Predicate<? super Expression> predicate) static AttributeMap<Expression> asAttributeMap(List<? extends NamedExpression> named) asAttributes(List<? extends NamedExpression> named) static Attributestatic List<Expression> canonicalize(List<? extends Expression> exps) static booleanequalsAsAttribute(Expression left, Expression right) fold(FoldContext ctx, List<? extends Expression> exps) static booleanfoldable(List<? extends Expression> exps) static Stringid(Expression e) static booleanIs this Expression guaranteed to have only thenullvalue.static booleanstatic booleanmatch(List<? extends Expression> exps, Predicate<? super Expression> predicate) static Stringname(Expression e) names(Collection<? extends Expression> e) static Nullabilitynullable(List<? extends Expression> exps) Return the logical AND of a list ofNullabilitystatic AttributeSetreferences(List<? extends Expression> exps) static NamedExpressionwrapAsNamed(Expression exp)
-
Method Details
-
wrapAsNamed
-
asAttributes
-
asAttributeMap
-
anyMatch
public static boolean anyMatch(List<? extends Expression> exps, Predicate<? super Expression> predicate) -
match
public static boolean match(List<? extends Expression> exps, Predicate<? super Expression> predicate) -
nullable
Return the logical AND of a list ofNullabilityUNKNOWN AND TRUE/FALSE/UNKNOWN = UNKNOWN FALSE AND FALSE = FALSE TRUE AND FALSE/TRUE = TRUE
-
canonicalize
-
foldable
-
fold
-
references
-
name
-
isGuaranteedNull
Is this Expression guaranteed to have only thenullvalue. Expressions thatExpression.fold(org.elasticsearch.xpack.esql.core.expression.FoldContext)tonullmay returnfalsehere, but should eventually be folded into aLiteralcontainingnullwhich will returntruefrom here. -
names
-
attribute
-
isPresent
-
equalsAsAttribute
-
aliases
public static List<org.elasticsearch.core.Tuple<Attribute,Expression>> aliases(List<? extends NamedExpression> named) -
id
-