public abstract class MINUS_RELATION_RELATION
extends java.lang.Object
MINUSUSING_RELATION_RELATION, with the third argument mentioning all the interval-typed attributes in the relations.| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<TupleBuffer> |
computePlainDifference(java.util.Collection<? extends TupleBuffer> minuend,
java.util.Collection<? extends TupleBuffer> subtrahend)
Method for computing "plain" relational difference between two given collections of tuple buffers
|
static MINUSInvocationResultDetails |
validateExpressionDetails(Heading minuendHeading,
Heading subtrahendHeading,
java.lang.String relationPredicate1,
java.lang.String relationPredicate2,
java.util.LinkedHashSet<NameIdentifier> usingAttributes) |
public static java.util.Set<TupleBuffer> computePlainDifference(java.util.Collection<? extends TupleBuffer> minuend, java.util.Collection<? extends TupleBuffer> subtrahend)
minuend - The values from which will be subtractedsubtrahend - The values to be subtractedpublic static MINUSInvocationResultDetails validateExpressionDetails(Heading minuendHeading, Heading subtrahendHeading, java.lang.String relationPredicate1, java.lang.String relationPredicate2, java.util.LinkedHashSet<NameIdentifier> usingAttributes) throws MinusHeadingsIncompatibleException, AttributeNotIntervalTypedException, NonExistingAttributeException
minuendHeading - the heading of the first argument in a unionsubtrahendHeading - the heading of the second argument in a unionrelationPredicate2 - The relation predicate of the second argument in a unionrelationPredicate1 - The relation predicate of the first argument in a unionusingAttributes - The in-order list of attributes that are to be treated in 'USING' mode by the differenceMinusHeadingsIncompatibleException - if the given headings are not union compatibleAttributeNotIntervalTypedException - If an attribute named in the usingAttributes appears in the heading but is not interval-typedNonExistingAttributeException - If an attribute named in the usingAttributes does not appear in the heading