Class MinusExpression<T>
- java.lang.Object
-
- org.apache.qpid.server.query.engine.parsing.expression.AbstractExpressionNode<T,R>
-
- org.apache.qpid.server.query.engine.parsing.expression.set.AbstractSetExpression<T,Stream<Map<String,Object>>>
-
- org.apache.qpid.server.query.engine.parsing.expression.set.MinusExpression<T>
-
- Type Parameters:
T- Input parameter type
- All Implemented Interfaces:
Function<T,Stream<Map<String,Object>>>,Expression<T,Stream<Map<String,Object>>>,ExpressionNode<T,Stream<Map<String,Object>>>,SetExpression<T,Stream<Map<String,Object>>>
public class MinusExpression<T> extends AbstractSetExpression<T,Stream<Map<String,Object>>>
Set MINUS expression is used to remove the results of right SELECT statement from the results of left SELECT statement. Every SELECT statement within MINUS must have the same number of columns. The MINUS operator selects all values by default. To eliminate duplicates, MINUS DISTINCT should be used.
-
-
Field Summary
-
Fields inherited from class org.apache.qpid.server.query.engine.parsing.expression.set.AbstractSetExpression
_distinct
-
Fields inherited from class org.apache.qpid.server.query.engine.parsing.expression.AbstractExpressionNode
_metadata
-
-
Constructor Summary
Constructors Constructor Description MinusExpression(boolean distinct, ExpressionNode<T,Stream<Map<String,Object>>> left, ExpressionNode<T,Stream<Map<String,Object>>> right)Constructor initializes children expression list
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Map<String,Object>>apply(T value)Performs MINUS operation on both set expressions-
Methods inherited from class org.apache.qpid.server.query.engine.parsing.expression.set.AbstractSetExpression
getProjections, getSelections
-
Methods inherited from class org.apache.qpid.server.query.engine.parsing.expression.AbstractExpressionNode
containsAggregation, ctx, evaluateChild, getAggregations, getAlias, 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
-
Methods inherited from interface org.apache.qpid.server.query.engine.parsing.expression.ExpressionNode
containsAggregation, getAggregations, getAlias, getChildren, getParent, isAccessor, isInstantlyEvaluable, setAlias, setParent
-
-