public final class CONTAINSTUSING_RELATION_TUPLE extends java.lang.Object implements OperatorImplementation_V0105
Constructor and Description |
---|
CONTAINSTUSING_RELATION_TUPLE(Heading heading,
java.util.LinkedList<NameIdentifier> treatAsRange)
Creates the CONTAINSTUSING_RELATION_RELATION
|
CONTAINSTUSING_RELATION_TUPLE(Heading heading,
java.util.LinkedList<NameIdentifier> treatAsRange,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> attributeIntervalOperatorImplementationsMap,
MyReadOnlyMap<NameIdentifier,IntervalTypeImplementation> attributeIntervalTypeImplementationsMap)
Creates the CONTAINSTUSING_RELATION_RELATION
|
Modifier and Type | Method and Description |
---|---|
ValueBuffer |
executeOperator(java.util.LinkedList<ValueBuffer> args)
CONTAINSTUSING returns true iff the first relation argument contains the tuple that is the second, with the applicable USING<> attributes treated in 'USING' (i.e.
|
java.lang.String[] |
getArgumentTypeNames()
CONTAINSTUSING takes two operands, one of type RELATION and another of type TUPLE.
|
TypeDeclaration |
getReturnTypeDeclaration()
Gets the full type declaration of the type of the return value.
|
java.lang.String |
getReturnTypeName()
The return type is BOOLEAN
|
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 CONTAINSTUSING_RELATION_TUPLE(Heading heading, java.util.LinkedList<NameIdentifier> treatAsRange)
heading
- The headingtreatAsRange
- The set of interval-typed attributes to be treated in 'USING' modepublic CONTAINSTUSING_RELATION_TUPLE(Heading heading, java.util.LinkedList<NameIdentifier> treatAsRange, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> attributeIntervalOperatorImplementationsMap, MyReadOnlyMap<NameIdentifier,IntervalTypeImplementation> attributeIntervalTypeImplementationsMap)
heading
- The headingtreatAsRange
- The set of interval-typed attributes to be treated in 'USING' modeattributeIntervalOperatorImplementationsMap
- The interval operators map for the attributes named in treatAsRangeattributeIntervalTypeImplementationsMap
- The interval type implementations map for the attributes named in treatAsRangepublic ValueBuffer executeOperator(java.util.LinkedList<ValueBuffer> args)
executeOperator
in interface OperatorImplementation_V0104
args
- 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.public java.lang.String[] getArgumentTypeNames()
getArgumentTypeNames
in interface OperatorImplementation_V0104
public TypeDeclaration getReturnTypeDeclaration()
OperatorImplementation_V0105
getReturnTypeDeclaration
in interface OperatorImplementation_V0105
public java.lang.String getReturnTypeName()
getReturnTypeName
in interface OperatorImplementation_V0104
public java.lang.String getSignature()
OperatorImplementation_V0104
getSignature
in interface OperatorImplementation_V0104
public boolean isDeterministic()
OperatorImplementation_V0104
isDeterministic
in interface OperatorImplementation_V0104
public void readExternal(java.io.ObjectInput in)
readExternal
in interface java.io.Externalizable
public void writeExternal(java.io.ObjectOutput out)
writeExternal
in interface java.io.Externalizable