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

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.


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

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.