org.elasticsearch.hadoop.cascading.lingual
Class EsFactory.EsScheme
java.lang.Object
cascading.scheme.Scheme
org.elasticsearch.hadoop.cascading.lingual.EsFactory.EsScheme
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- EsFactory
public static class EsFactory.EsScheme
- extends Scheme
- See Also:
- Serialized Form
Methods inherited from class cascading.scheme.Scheme |
equals, getNumSinkParts, getSinkFields, getSourceFields, getTrace, hashCode, isSink, isSource, isSymmetrical, presentSinkFields, presentSinkFieldsInternal, presentSourceFields, presentSourceFieldsInternal, retrieveSinkFields, retrieveSourceFields, setNumSinkParts, setSinkFields, setSourceFields, sinkCleanup, sinkPrepare, sourceCleanup, sourcePrepare, toString |
sourceConfInit
public void sourceConfInit(FlowProcess flowProcess,
Tap tap,
Object conf)
- Specified by:
sourceConfInit
in class Scheme
sinkConfInit
public void sinkConfInit(FlowProcess flowProcess,
Tap tap,
Object conf)
- Specified by:
sinkConfInit
in class Scheme
source
public boolean source(FlowProcess flowProcess,
SourceCall sourceCall)
throws IOException
- Specified by:
source
in class Scheme
- Throws:
IOException
sink
public void sink(FlowProcess flowProcess,
SinkCall sinkCall)
throws IOException
- Specified by:
sink
in class Scheme
- Throws:
IOException