public final class IntervalMinusOperatorImplementation extends java.lang.Object implements IntervalOperatorImplementation
| Constructor and Description |
|---|
IntervalMinusOperatorImplementation(IntervalTypeImplementation intervalTypeImplementation,
IntervalOverlapsOperatorImplementation overlapsOperatorImplementation,
IntervalWithinOperatorImplementation withinOperatorImplementation,
IntervalSplitByOperatorImplementation splitByOperatorImplementation) |
| Modifier and Type | Method and Description |
|---|---|
ValueBuffer |
executeOperator(java.util.LinkedList<ValueBuffer> args)
IMINUS returns the interval that consists of all the point values that are in the first argument, but not in the second.
|
java.lang.String[] |
getArgumentTypeNames()
IMINUS takes two arguments that are both of the same interval type
|
TypeDeclaration |
getReturnTypeDeclaration()
Gets the full type declaration of the type of the return value.
|
java.lang.String |
getReturnTypeName()
IMINUS returns the same interval type as its arguments
|
java.lang.String |
getSignature()
Gets the name of the operator implemented by this implementation object
|
boolean |
isDeterministic()
Tells whether the operator is deterministic with respect to the arguments of its invocations.
|
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
public IntervalMinusOperatorImplementation(IntervalTypeImplementation intervalTypeImplementation, IntervalOverlapsOperatorImplementation overlapsOperatorImplementation, IntervalWithinOperatorImplementation withinOperatorImplementation, IntervalSplitByOperatorImplementation splitByOperatorImplementation)
intervalTypeImplementation - The underlying ordered base type's ordering operator implementationoverlapsOperatorImplementation - The OVERLAPS operator implementation for this specific interval typewithinOperatorImplementation - The WITHIN operator implementation for this specific interval typesplitByOperatorImplementation - The SPLITBY operator implementation for this specific interval typepublic ValueBuffer executeOperator(java.util.LinkedList<ValueBuffer> args)
executeOperator in interface OperatorImplementation_V0104args - the argument list. The list must hold as many ValueBuffer objects as there are arguments to the operator, and each ValueBuffer object holds a value for some argument to the operator. ValueBuffer objects on the list must appear in the same order as the operator argument declarations. Implementations have the option, but are not required, to do a check the conformance of the argument list (the argument count, notably) to the operator signature.IntervalSplitException - if the resulting set of points is not a single interval, i.e. the case when b1<b2<e2<e1.public java.lang.String[] getArgumentTypeNames()
getArgumentTypeNames in interface OperatorImplementation_V0104public java.lang.String getReturnTypeName()
getReturnTypeName in interface OperatorImplementation_V0104public java.lang.String getSignature()
OperatorImplementation_V0104getSignature in interface OperatorImplementation_V0104public boolean isDeterministic()
OperatorImplementation_V0104isDeterministic in interface OperatorImplementation_V0104public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
readExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic TypeDeclaration getReturnTypeDeclaration()
OperatorImplementation_V0105getReturnTypeDeclaration in interface OperatorImplementation_V0105