public abstract class RANGEJOIN_TUPLE_TUPLE_STRING
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<TupleBuffer> |
computeRangeJoin(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
Gets the USING...
|
static java.util.Collection<TupleBuffer> |
computeRangeJoin(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.Map<NameIdentifier,ValueBuffer> wrkAttributeValueMap,
java.util.LinkedList<ValueBuffer> wrkArgList)
Gets the USING...
|
static java.util.Collection<TupleBuffer> |
computeRangeJoinForSamePartitionTuples(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
Gets the USING...
|
static java.util.Collection<TupleBuffer> |
computeRangeJoinForSamePartitionTuples(TupleBuffer t1,
TupleBuffer t2,
MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations,
java.util.Map<NameIdentifier,ValueBuffer> wrkAttributeValueMap,
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 computeRangeJoinForSamePartitionTuples. The catch(IntersectionWithEmptyIntervalException e) is to be replaced with a check on the returned collection being empty.
|
public static java.util.Collection<TupleBuffer> computeRangeJoin(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
t1
- The first tuple, to be range-joined with the secondt2
- The second tuple, to be range-joined with the firstintervalTypedAttributesIntervalOperatorImplementations
- A map mapping the interval join 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> computeRangeJoin(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.Map<NameIdentifier,ValueBuffer> wrkAttributeValueMap, java.util.LinkedList<ValueBuffer> wrkArgList)
t1
- The first tuple, to be range-joined with the secondt2
- The second tuple, to be range-joined with the firstintervalTypedAttributesIntervalOperatorImplementations
- A map mapping the interval join 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.wrkAttributeValueMap
- A working map that can be used for internal tuple building. Avoids the need to allocate new attributeValueMaps inside the method.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> computeRangeJoinForSamePartitionTuples(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations)
t1
- The first tuple, to be range-joined with the secondt2
- The second tuple, to be range-joined 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 interval join 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> computeRangeJoinForSamePartitionTuples(TupleBuffer t1, TupleBuffer t2, MyReadOnlyLinkedHashMap<NameIdentifier,java.util.Map<java.lang.String,OperatorImplementation_V0104>> intervalTypedAttributesIntervalOperatorImplementations, java.util.Map<NameIdentifier,ValueBuffer> wrkAttributeValueMap, java.util.LinkedList<ValueBuffer> wrkArgList)
t1
- The first tuple, to be range-joined with the secondt2
- The second tuple, to be range-joined 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 interval join 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.wrkAttributeValueMap
- A working map that can be used for internal tuple building. Avoids the need to allocate new attributeValueMaps inside the method.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.