Class NonReusingBuildFirstHashJoinIterator<V1,​V2,​O>

    • Constructor Summary

      Constructors 
      Constructor Description
      NonReusingBuildFirstHashJoinIterator​(org.apache.flink.util.MutableObjectIterator<V1> firstInput, org.apache.flink.util.MutableObjectIterator<V2> secondInput, org.apache.flink.api.common.typeutils.TypeSerializer<V1> serializer1, org.apache.flink.api.common.typeutils.TypeComparator<V1> comparator1, org.apache.flink.api.common.typeutils.TypeSerializer<V2> serializer2, org.apache.flink.api.common.typeutils.TypeComparator<V2> comparator2, org.apache.flink.api.common.typeutils.TypePairComparator<V2,​V1> pairComparator, MemoryManager memManager, IOManager ioManager, AbstractInvokable ownerTask, double memoryFraction, boolean probeSideOuterJoin, boolean buildSideOuterJoin, boolean useBitmapFilters)  
    • Field Detail

      • probeSideSerializer

        protected final org.apache.flink.api.common.typeutils.TypeSerializer<V2> probeSideSerializer
    • Constructor Detail

      • NonReusingBuildFirstHashJoinIterator

        public NonReusingBuildFirstHashJoinIterator​(org.apache.flink.util.MutableObjectIterator<V1> firstInput,
                                                    org.apache.flink.util.MutableObjectIterator<V2> secondInput,
                                                    org.apache.flink.api.common.typeutils.TypeSerializer<V1> serializer1,
                                                    org.apache.flink.api.common.typeutils.TypeComparator<V1> comparator1,
                                                    org.apache.flink.api.common.typeutils.TypeSerializer<V2> serializer2,
                                                    org.apache.flink.api.common.typeutils.TypeComparator<V2> comparator2,
                                                    org.apache.flink.api.common.typeutils.TypePairComparator<V2,​V1> pairComparator,
                                                    MemoryManager memManager,
                                                    IOManager ioManager,
                                                    AbstractInvokable ownerTask,
                                                    double memoryFraction,
                                                    boolean probeSideOuterJoin,
                                                    boolean buildSideOuterJoin,
                                                    boolean useBitmapFilters)
                                             throws MemoryAllocationException
        Throws:
        MemoryAllocationException
    • Method Detail

      • close

        public void close()
        Description copied from interface: JoinTaskIterator
        General-purpose close method. Works after the principle of best effort. The internal structures are released, but errors that occur on the way are not reported.
        Specified by:
        close in interface JoinTaskIterator<V1,​V2,​O>
      • callWithNextKey

        public final boolean callWithNextKey​(org.apache.flink.api.common.functions.FlatJoinFunction<V1,​V2,​O> matchFunction,
                                             org.apache.flink.util.Collector<O> collector)
                                      throws Exception
        Description copied from interface: JoinTaskIterator
        Moves the internal pointer to the next key that both inputs share. It calls the match stub with the cross product of all values that share the same key.
        Specified by:
        callWithNextKey in interface JoinTaskIterator<V1,​V2,​O>
        Parameters:
        matchFunction - The match stub containing the match function which is called with the keys.
        collector - The collector to pass the match function.
        Returns:
        True, if a next key exists, false if no more keys exist.
        Throws:
        Exception - Exceptions from the user code are forwarded.
      • abort

        public void abort()
        Description copied from interface: JoinTaskIterator
        Aborts the matching process. This extra abort method is supplied, because a significant time may pass while calling the match stub with the cross product of all values that share the same key. A call to this abort method signals an interrupt to that procedure.
        Specified by:
        abort in interface JoinTaskIterator<V1,​V2,​O>