@OperatorGeneratorCharacteristics(maximumArgumentCount=2, minimumArgumentCount=2, name="MINUS", signature={EXPRESSION,EXPRESSION}) public abstract class MINUS extends RelationalOperator
Constructor and Description |
---|
MINUS() |
Modifier and Type | Method and Description |
---|---|
static Relation |
computePlainDifference(Relation minuend,
Relation subtrahend)
Computes the difference between minuend and subtrahend
|
static Relation |
computeUsingDifference(Relation minuend,
Relation subtrahend,
java.util.LinkedHashSet<NameIdentifier> usingAttributes)
Computes the difference between minuend and subtrahend, with the usingAtributres treated in 'USING'/'pointwise' mode
|
OperatorImplementation_V0105 |
getOperatorImplementation(OperatorGeneratorArgument[] args)
Gets an implementation instance of the operator.
|
getInvocationName, getMaximumArgumentCount, getMinimumArgumentCount, getName, getOperatorGeneratorSignature, isMonoRelationOperator, toString
public static Relation computePlainDifference(Relation minuend, Relation subtrahend) throws EvaluationException
minuend
- the relation from which is to be subtracted (in 'USING' mode)subtrahend
- the relation to be subtracted from the minuend (in 'USING' mode)EvaluationException
- If the evaluation fails for any reason. See the contained getCause() exception for more detail.public static Relation computeUsingDifference(Relation minuend, Relation subtrahend, java.util.LinkedHashSet<NameIdentifier> usingAttributes) throws EvaluationException
minuend
- the relation from which is to be subtracted (in 'USING' mode)subtrahend
- the relation to be subtracted from the minuend (in 'USING' mode)usingAttributes
- the interval-typed attributes of the relations that are to be treated in 'USING' modeEvaluationException
- If the evaluation failed for any reason. See the contained getCause() exception for more detail.public final OperatorImplementation_V0105 getOperatorImplementation(OperatorGeneratorArgument[] args)
OperatorGenerator
args
- The arguments from which the instance is to be created. There must be exactly as many arguments as there are elements in the list returned from OperatorGenerator.getOperatorGeneratorSignature()
. The correspondence between OperatorGeneratorArgumentType
values and OperatorGeneratorArgument
types is given in the table below :