This project has retired. For details please refer to its Attic page.
SortExample (Apache Crunch 0.10.0 API)

org.apache.crunch.examples
Class SortExample

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.crunch.util.CrunchTool
          extended by org.apache.crunch.examples.SortExample
All Implemented Interfaces:
Serializable, org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class SortExample
extends CrunchTool

Simple Crunch tool for running sorting examples from the command line.

See Also:
Serialized Form

Constructor Summary
SortExample()
           
 
Method Summary
static void main(String[] args)
           
 int run(String[] args)
           
 
Methods inherited from class org.apache.crunch.util.CrunchTool
done, enableDebug, getConf, materialize, read, read, readTextFile, run, runAsync, setConf, write, writeTextFile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortExample

public SortExample()
Method Detail

run

public int run(String[] args)
        throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.