Package eu.stratosphere.pact.runtime.sort

Examples of eu.stratosphere.pact.runtime.sort.CombiningUnilateralSortMerger


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

        @SuppressWarnings({ "rawtypes", "unchecked" })
        CombiningUnilateralSortMerger<?> cSorter = new CombiningUnilateralSortMerger(
          (GenericCombine) localStub, getMemoryManager(), getIOManager(), this.inputIterators[inputNum],
          this, this.inputSerializers[inputNum], getLocalStrategyComparator(inputNum),
          this.config.getMemoryInput(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 eu.stratosphere.pact.runtime.sort.CombiningUnilateralSortMerger

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.