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

org.apache.crunch.impl.mr.plan
Class DotfileWriter

java.lang.Object
  extended by org.apache.crunch.impl.mr.plan.DotfileWriter

public class DotfileWriter
extends Object

Writes Graphviz dot files to illustrate the topology of Crunch pipelines.


Constructor Summary
DotfileWriter()
           
 
Method Summary
 void addJobPrototype(org.apache.crunch.impl.mr.plan.JobPrototype jobPrototype)
          Add the contents of a JobPrototype to the graph describing a pipeline.
 String buildDotfile()
          Build up the full dot file containing the description of a MapReduce pipeline.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotfileWriter

public DotfileWriter()
Method Detail

addJobPrototype

public void addJobPrototype(org.apache.crunch.impl.mr.plan.JobPrototype jobPrototype)
Add the contents of a JobPrototype to the graph describing a pipeline.

Parameters:
jobPrototype - A JobPrototype representing a portion of a MapReduce pipeline

buildDotfile

public String buildDotfile()
Build up the full dot file containing the description of a MapReduce pipeline.

Returns:
Graphviz dot file contents


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