org.apache.crunch
Class ParallelDoOptions.Builder

java.lang.Object
  extended by org.apache.crunch.ParallelDoOptions.Builder
Enclosing class:
ParallelDoOptions

public static class ParallelDoOptions.Builder
extends Object


Constructor Summary
ParallelDoOptions.Builder()
           
 
Method Summary
 ParallelDoOptions build()
           
 ParallelDoOptions.Builder conf(String confKey, String confValue)
          Specifies key-value pairs that should be added to the Configuration object associated with the Job that includes these options.
 ParallelDoOptions.Builder sources(Collection<Source<?>> sources)
           
 ParallelDoOptions.Builder sources(Source<?>... sources)
           
 ParallelDoOptions.Builder sourceTargets(Collection<SourceTarget<?>> sourceTargets)
           
 ParallelDoOptions.Builder sourceTargets(SourceTarget<?>... sourceTargets)
           
 ParallelDoOptions.Builder targets(Collection<Target> targets)
           
 ParallelDoOptions.Builder targets(Target... targets)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelDoOptions.Builder

public ParallelDoOptions.Builder()
Method Detail

sources

public ParallelDoOptions.Builder sources(Source<?>... sources)

sources

public ParallelDoOptions.Builder sources(Collection<Source<?>> sources)

sourceTargets

public ParallelDoOptions.Builder sourceTargets(SourceTarget<?>... sourceTargets)

sourceTargets

public ParallelDoOptions.Builder sourceTargets(Collection<SourceTarget<?>> sourceTargets)

targets

public ParallelDoOptions.Builder targets(Target... targets)

targets

public ParallelDoOptions.Builder targets(Collection<Target> targets)

conf

public ParallelDoOptions.Builder conf(String confKey,
                                      String confValue)
Specifies key-value pairs that should be added to the Configuration object associated with the Job that includes these options.

Parameters:
confKey - The key
confValue - The value
Returns:
This Builder instance

build

public ParallelDoOptions build()


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