org.apache.crunch
Class ParallelDoOptions.Builder
java.lang.Object
org.apache.crunch.ParallelDoOptions.Builder
- Enclosing class:
- ParallelDoOptions
public static class ParallelDoOptions.Builder
- extends Object
ParallelDoOptions.Builder
public ParallelDoOptions.Builder()
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)
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 keyconfValue
- The value
- Returns:
- This
Builder
instance
build
public ParallelDoOptions build()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.