|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SourceTarget<T>
An interface for classes that implement both the Source and the
Target interfaces.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.crunch.Target |
|---|
Target.WriteMode |
| 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>. |
| Methods inherited from interface org.apache.crunch.Source |
|---|
configureSource, getConverter, getLastModifiedAt, getSize, getType, inputConf |
| Methods inherited from interface org.apache.crunch.Target |
|---|
accept, asSourceTarget, getConverter, handleExisting, outputConf |
| Method Detail |
|---|
SourceTarget<T> conf(String key,
String value)
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||