public abstract class RANGEINTERSECT_TUPLE_TUPLE_STRING
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<TupleBuffer> |
computeRangeIntersection(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
Gets the USING...
|
static java.util.Collection<TupleBuffer> |
computeRangeIntersection(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.LinkedList<ValueBuffer> wrkArgList)
Gets the USING...
|
static java.util.Collection<TupleBuffer> |
computeRangeIntersectionForSamePartitionTuples(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
Gets the USING...
|
static java.util.Collection<TupleBuffer> |
computeRangeIntersectionForSamePartitionTuples(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.LinkedList<ValueBuffer> wrkArgList)
Gets the USING...
|
static TupleBuffer |
computeTupleIntersection(TupleBuffer t1,
TupleBuffer t2,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.LinkedList<ValueBuffer> wrkArgList,
java.util.HashMap<java.lang.String,ValueBuffer> workMap)
Deprecated.
- replace with computeRangeIntersectionForSamePartitionTuples. The catch(IntersectionWithEmptyIntervalException e) is to be replaced with a check on the returned collection being empty.
|
public static java.util.Collection<TupleBuffer> computeRangeIntersection(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
t1
- The first tuple, to be range-intersected with the secondt2
- The second tuple, to be range-intersected with the firstintervalTypedAttributesIntervalOperatorImplementations
- 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 IINTERSECT and ISEMPTYINTERVAL implementations for each attribute.public static java.util.Collection<TupleBuffer> computeRangeIntersection(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.LinkedList<ValueBuffer> wrkArgList)
t1
- The first tuple, to be range-intersected with the secondt2
- The second tuple, to be range-intersected with the firstintervalTypedAttributesIntervalOperatorImplementations
- 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 IINTERSECT and ISEMPTYINTERVAL implementations for each attribute.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.public static java.util.Collection<TupleBuffer> computeRangeIntersectionForSamePartitionTuples(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
t1
- The first tuple, to be range-intersected with the secondt2
- The second tuple, to be range-intersected with the first. t2 is presumed to have equal attribute values to t1 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 IINTERSECT and ISEMPTYINTERVAL implementations for each attribute.public static java.util.Collection<TupleBuffer> computeRangeIntersectionForSamePartitionTuples(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.LinkedList<ValueBuffer> wrkArgList)
t1
- The first tuple, to be range-intersected with the secondt2
- The second tuple, to be range-intersected with the first. t2 is presumed to have equal attribute values to t1 for all attributes not mentioned in the ranges argument (intervalTypedAttributesIntervalOperatorImplementations). This condition is not checked.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 IINTERSECT and ISEMPTYINTERVAL implementations for each attribute.wrkArgList
- A List object that can be used for parameter passing in internal invocations of other operators (IINTERSECT and ISEMPTYINTERVAL). Prevents having to re-allocate new working objects on each invocation.@Deprecated public static TupleBuffer computeTupleIntersection(TupleBuffer t1, TupleBuffer t2, java.util.Map<java.lang.String,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.LinkedList<ValueBuffer> wrkArgList, java.util.HashMap<java.lang.String,ValueBuffer> workMap) throws IntersectionWithEmptyIntervalException
t1
- The first tuple, to be intersected with the secondt2
- The second tuple, to be intersected with the firstintervalTypedAttributesIntervalOperatorImplementations
- The map holding the Interval OperatorImplementation objects for all of the interval-typed attributes, through which the needed interval operators can be accessedwrkArgList
- A working list that can be used for invoking the interval operatorsworkMap
- A workmap that can be used for placing the intersected atttribute values on when constructing the intersected tupleIntersectionWithEmptyIntervalException
- If the intersection between the tuples over the given interval-typed attributes yielded an empty interval value.