public abstract class RANGEMINUS_TUPLE_TUPLE_STRING
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
computeDifference(TupleBuffer minuendTuple,
TupleBuffer subtrahendTuple,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.Map<java.lang.String,IntervalTypeImplementation> attributeIntervalTypeImplementations,
java.util.LinkedList<ValueBuffer> wrkArgList,
java.util.Set<TupleBuffer> wrkSet1,
java.util.Set<TupleBuffer> wrkSet2)
Deprecated.
- replace with computeDifferenceForSamePartitionTuples
|
static java.util.Collection<TupleBuffer> |
computeDifferenceForSamePartitionTuples(TupleBuffer minuendTuple,
TupleBuffer subtrahendTuple,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.Map<NameIdentifier,IntervalTypeImplementation> attributeIntervalTypeImplementations)
Computes the USING difference between two given tuples
|
static java.util.Collection<TupleBuffer> |
computeDifferenceForSamePartitionTuples(TupleBuffer minuendTuple,
TupleBuffer subtrahendTuple,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.Map<NameIdentifier,IntervalTypeImplementation> attributeIntervalTypeImplementations,
java.util.LinkedList<ValueBuffer> wrkArgList)
Computes the USING difference between two given tuples
|
@Deprecated public static boolean computeDifference(TupleBuffer minuendTuple, TupleBuffer subtrahendTuple, java.util.Map<java.lang.String,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.Map<java.lang.String,IntervalTypeImplementation> attributeIntervalTypeImplementations, java.util.LinkedList<ValueBuffer> wrkArgList, java.util.Set<TupleBuffer> wrkSet1, java.util.Set<TupleBuffer> wrkSet2)
minuendTuple
- -subtrahendTuple
- -intervalTypedAttributesIntervalOperatorImplementations
- -attributeIntervalTypeImplementations
- -wrkArgList
- A List object that can be used for parameter passing in internal invocations of other operators. Prevents having to re-allocate new working objects on each invocation.wrkSet1
- -wrkSet2
- -public static java.util.Collection<TupleBuffer> computeDifferenceForSamePartitionTuples(TupleBuffer minuendTuple, TupleBuffer subtrahendTuple, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.Map<NameIdentifier,IntervalTypeImplementation> attributeIntervalTypeImplementations)
minuendTuple
- The first tuple, to be range-diff'ed with the secondsubtrahendTuple
- The second tuple, to be range-diff'ed to the first. subtrahendTuple is presumed to have equal attribute values to minuendTuple for all attributes not mentioned in the ranges argument (intervalTypedAttributesIntervalOperatorImplementations).intervalTypedAttributesIntervalOperatorImplementations
- A map mapping the attribute names to a corresponding collection of interval operators (this collection takes itself the form of a mapping from operator names to interval operator implementations). The map is required to hold at least the OPERATORNAMES.SPLITBY
, OPERATORNAMES.IMINUS
, OPERATORNAMES.IINTERSECT
and OPERATORNAMES.ISEMPTYINTERVAL
implementations for each attribute.attributeIntervalTypeImplementations
- A map mapping the attribute names to a corresponding collection of interval type implementationspublic static java.util.Collection<TupleBuffer> computeDifferenceForSamePartitionTuples(TupleBuffer minuendTuple, TupleBuffer subtrahendTuple, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.Map<NameIdentifier,IntervalTypeImplementation> attributeIntervalTypeImplementations, java.util.LinkedList<ValueBuffer> wrkArgList)
minuendTuple
- The first tuple, to be range-diff'ed with the secondsubtrahendTuple
- The second tuple, to be range-diff'ed to the first. subtrahendTuple is presumed to have equal attribute values to minuendTuple for all attributes not mentioned in the ranges argument (intervalTypedAttributesIntervalOperatorImplementations).intervalTypedAttributesIntervalOperatorImplementations
- A map mapping the attribute names to a corresponding collection of interval operators (this collection takes itself the form of a mapping from operator names to interval operator implementations). The map is required to hold at least the OPERATORNAMES.SPLITBY
, OPERATORNAMES.IMINUS
, OPERATORNAMES.IINTERSECT
and OPERATORNAMES.ISEMPTYINTERVAL
implementations for each attribute.attributeIntervalTypeImplementations
- A map mapping the attribute names to a corresponding collection of interval type operator implementations.wrkArgList
- A work object that can be used for argument value passing in internal operator calls, sparing out the need to allocate a new argument list object internally for each invocatio of this method