Package org.apache.flink.runtime.operators.sort

Examples of org.apache.flink.runtime.operators.sort.CombiningUnilateralSortMerger$CombiningSpillingThread


        if (!(localStub instanceof FlatCombineFunction)) {
          throw new IllegalStateException("Performing combining sort outside a reduce task!");
        }

        @SuppressWarnings({ "rawtypes", "unchecked" })
        CombiningUnilateralSortMerger<?> cSorter = new CombiningUnilateralSortMerger(
          (FlatCombineFunction) localStub, getMemoryManager(), getIOManager(), this.inputIterators[inputNum],
          this, this.inputSerializers[inputNum], getLocalStrategyComparator(inputNum),
          this.config.getRelativeMemoryInput(inputNum), this.config.getFilehandlesInput(inputNum),
          this.config.getSpillingThresholdInput(inputNum));
        cSorter.setUdfConfiguration(this.config.getStubParameters());

        // set the input to null such that it will be lazily fetched from the input strategy
        this.inputs[inputNum] = null;
        this.localStrategies[inputNum] = cSorter;
        break;
View Full Code Here

TOP

Related Classes of org.apache.flink.runtime.operators.sort.CombiningUnilateralSortMerger$CombiningSpillingThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.