@OperatorGeneratorCharacteristics(maximumArgumentCount=256, minimumArgumentCount=2, name="INTERSECT", signature={EXPRESSION,EXPRESSION}) public abstract class INTERSECT extends RelationalOperator
Constructor and Description |
---|
INTERSECT() |
Modifier and Type | Method and Description |
---|---|
static Relation |
computeIntersect(Relation relation,
Relation intersectWith) |
static IRelation |
computeIntersectUsing(Relation relation,
Relation intersectWith,
java.util.LinkedHashSet<NameIdentifier> usingAttributes) |
OperatorImplementation_V0105 |
getOperatorImplementation(OperatorGeneratorArgument[] args)
Gets an implementation instance of the operator.
|
getInvocationName, getMaximumArgumentCount, getMinimumArgumentCount, getName, getOperatorGeneratorSignature, isMonoRelationOperator, toString
public static Relation computeIntersect(Relation relation, Relation intersectWith) throws EvaluationException
relation
- a relation the intersection of which with another is to be computedintersectWith
- the other relation with which relation is to be intersectedEvaluationException
- If the evaluation fails for any reason. See the contained getCause() exception for more detail.public static IRelation computeIntersectUsing(Relation relation, Relation intersectWith, java.util.LinkedHashSet<NameIdentifier> usingAttributes) throws EvaluationException
relation
- a relation the 'USING'-intersection of which with another is to be computedintersectWith
- the other relation with which relation is to be 'USING'-intersectedusingAttributes
- The interval-typed attributes to be used in 'unpack'/'pointwise' modus.EvaluationException
- If the evaluation fails for any reason. See the contained getCause() exception for more detail.public final OperatorImplementation_V0105 getOperatorImplementation(OperatorGeneratorArgument[] args) throws NotFoundException
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 :
NotFoundException
- If the given OperatorGeneratorArguments do not satisfy all of the rules of the OperatorGenerator. These rules are specific to each OperatorGenerator.