org.apache.crunch
Interface SourceTarget<T>
- All Superinterfaces:
- Source<T>, Target
- All Known Subinterfaces:
- ReadableSourceTarget<T>, TableSourceTarget<K,V>
public interface SourceTarget<T>
- extends Source<T>, Target
An interface for classes that implement both the Source
and the
Target
interfaces.
Method Summary |
SourceTarget<T> |
conf(String key,
String value)
Adds the given key-value pair to the Configuration instance(s) that are used to
read and write this SourceTarget<T> . |
conf
SourceTarget<T> conf(String key,
String value)
- Adds the given key-value pair to the
Configuration
instance(s) that are used to
read and write this SourceTarget<T>
. Allows for multiple inputs and outputs to
re-use the same config keys with different values when necessary.
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.