Package com.datasalt.pangool.examples.simplesecondarysort

Examples of com.datasalt.pangool.examples.simplesecondarysort.SimpleSecondarySort


  public void test() throws Exception {
    trash(OUTPUT);
   
    Files.write("10 3 \n 5 3 \n 5 30 \n 10 10", new File(INPUT), Charset.forName("UTF-8"));

    ToolRunner.run(getConf(),new SimpleSecondarySort(), new String[] { INPUT, OUTPUT });

    String[][] expectedOutput = new String[][] { new String[] { "5", "3" }, new String[] { "5", "30" },
        new String[] { "10", "3" }, new String[] { "10", "10" } };

    int count = 0;
View Full Code Here

TOP

Related Classes of com.datasalt.pangool.examples.simplesecondarysort.SimpleSecondarySort

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.