Class ReusingMergeOuterJoinIterator<T1,T2,O>
- java.lang.Object
-
- org.apache.flink.runtime.operators.sort.AbstractMergeIterator<T1,T2,O>
-
- org.apache.flink.runtime.operators.sort.AbstractMergeOuterJoinIterator<T1,T2,O>
-
- org.apache.flink.runtime.operators.sort.ReusingMergeOuterJoinIterator<T1,T2,O>
-
- All Implemented Interfaces:
JoinTaskIterator<T1,T2,O>
public class ReusingMergeOuterJoinIterator<T1,T2,O> extends AbstractMergeOuterJoinIterator<T1,T2,O>
-
-
Field Summary
-
Fields inherited from class org.apache.flink.runtime.operators.sort.AbstractMergeIterator
blockHeadCopy, copy1, copy2, iterator1, iterator2, pairComparator, serializer1, serializer2, spillHeadCopy
-
-
Constructor Summary
Constructors Constructor Description ReusingMergeOuterJoinIterator(OuterJoinOperatorBase.OuterJoinType outerJoinType, MutableObjectIterator<T1> input1, MutableObjectIterator<T2> input2, TypeSerializer<T1> serializer1, TypeComparator<T1> comparator1, TypeSerializer<T2> serializer2, TypeComparator<T2> comparator2, TypePairComparator<T1,T2> pairComparator, MemoryManager memoryManager, IOManager ioManager, int numMemoryPages, AbstractInvokable parentTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> T
createCopy(TypeSerializer<T> serializer, T value, T reuse)
Copies an instance of the given type, potentially reusing the object passed as the reuse parameter, which may be null.protected <T> KeyGroupedIterator<T>
createKeyGroupedIterator(MutableObjectIterator<T> input, TypeSerializer<T> serializer, TypeComparator<T> comparator)
-
Methods inherited from class org.apache.flink.runtime.operators.sort.AbstractMergeOuterJoinIterator
callWithNextKey
-
Methods inherited from class org.apache.flink.runtime.operators.sort.AbstractMergeIterator
abort, close, crossMatchingGroup, open
-
-
-
-
Constructor Detail
-
ReusingMergeOuterJoinIterator
public ReusingMergeOuterJoinIterator(OuterJoinOperatorBase.OuterJoinType outerJoinType, MutableObjectIterator<T1> input1, MutableObjectIterator<T2> input2, TypeSerializer<T1> serializer1, TypeComparator<T1> comparator1, TypeSerializer<T2> serializer2, TypeComparator<T2> comparator2, TypePairComparator<T1,T2> pairComparator, MemoryManager memoryManager, IOManager ioManager, int numMemoryPages, AbstractInvokable parentTask) throws MemoryAllocationException
- Throws:
MemoryAllocationException
-
-
Method Detail
-
createKeyGroupedIterator
protected <T> KeyGroupedIterator<T> createKeyGroupedIterator(MutableObjectIterator<T> input, TypeSerializer<T> serializer, TypeComparator<T> comparator)
- Specified by:
createKeyGroupedIterator
in classAbstractMergeIterator<T1,T2,O>
-
createCopy
protected <T> T createCopy(TypeSerializer<T> serializer, T value, T reuse)
Description copied from class:AbstractMergeIterator
Copies an instance of the given type, potentially reusing the object passed as the reuse parameter, which may be null.- Specified by:
createCopy
in classAbstractMergeIterator<T1,T2,O>
-
-