Class InExpression<T,R>
- java.lang.Object
-
- org.apache.qpid.server.query.engine.parsing.expression.AbstractExpressionNode<T,R>
-
- org.apache.qpid.server.query.engine.parsing.expression.comparison.AbstractComparisonExpression<T,Boolean>
-
- org.apache.qpid.server.query.engine.parsing.expression.comparison.InExpression<T,R>
-
- Type Parameters:
T- Input parameter typeR- Output parameter type
- All Implemented Interfaces:
Function<T,Boolean>,Predicate<T>,Expression<T,Boolean>,ExpressionNode<T,Boolean>
public class InExpression<T,R> extends AbstractComparisonExpression<T,Boolean>
Comparison IN operation. Evaluates left expression against list of expressions or against a subquery result.
-
-
Field Summary
-
Fields inherited from class org.apache.qpid.server.query.engine.parsing.expression.comparison.AbstractComparisonExpression
_operator
-
Fields inherited from class org.apache.qpid.server.query.engine.parsing.expression.AbstractExpressionNode
_metadata
-
-
Constructor Summary
Constructors Constructor Description InExpression(List<ExpressionNode<T,?>> children)Constructor initializes children expression listInExpression(ExpressionNode<T,?> left, SelectExpression<T,R> right)Constructor initializes children expression list
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanapply(T value)Performs IN comparison using parameters and the value supplied-
Methods inherited from class org.apache.qpid.server.query.engine.parsing.expression.comparison.AbstractComparisonExpression
getAlias, test
-
Methods inherited from class org.apache.qpid.server.query.engine.parsing.expression.AbstractExpressionNode
containsAggregation, ctx, evaluateChild, getAggregations, getChild, getChildren, getParent, isAccessor, isInstantlyEvaluable, setAlias, setParent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.qpid.server.query.engine.parsing.expression.Expression
andThen
-
-
-
-
Constructor Detail
-
InExpression
public InExpression(List<ExpressionNode<T,?>> children)
Constructor initializes children expression list- Parameters:
children- Children expressions
-
InExpression
public InExpression(ExpressionNode<T,?> left, SelectExpression<T,R> right)
Constructor initializes children expression list- Parameters:
left- Left child expressionright- Right child expression
-
-