Examples of SecondarySortKeyValuesReader


Examples of cascading.flow.tez.util.SecondarySortKeyValuesReader

      LogicalInput logicalInput = Util.getFirst( logicalInputs.getValues() );

      KeyValuesReader reader = (KeyValuesReader) logicalInput.getReader();

      if( sortFields != null )
        reader = new SecondarySortKeyValuesReader( reader, groupComparators[ 0 ] );

      while( reader.next() )
        {
        Tuple currentKey = (Tuple) reader.getCurrentKey(); // if secondary sorting, is a TuplePair
        Iterable currentValues = reader.getCurrentValues();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.