cascading.flow.stream
Class SourceStage
java.lang.Object
cascading.flow.stream.Duct<Incoming,Outgoing>
cascading.flow.stream.Stage<Incoming,Outgoing>
cascading.flow.stream.ElementStage<java.lang.Void,TupleEntry>
cascading.flow.stream.SourceStage
- All Implemented Interfaces:
- ElementDuct, java.util.concurrent.Callable<java.lang.Throwable>
public class SourceStage
- extends ElementStage<java.lang.Void,TupleEntry>
- implements java.util.concurrent.Callable<java.lang.Throwable>
Fields inherited from class cascading.flow.stream.Duct |
next |
Method Summary |
java.lang.Throwable |
call()
|
void |
initialize()
Called immediately after bind |
void |
receive(Duct previous,
java.lang.Void nada)
|
void |
run(java.lang.Object input)
|
Methods inherited from class cascading.flow.stream.ElementStage |
addIncomingScope, addOutgoingScope, cleanup, equals, getBranchNames, getFlowElement, getIncomingScopes, getOutgoingFields, getOutgoingScopes, handleException, handleReThrowableException, hashCode, hasTrapHandler, setBranchNames, setTrapHandler, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SourceStage
public SourceStage(FlowProcess flowProcess,
Tap source)
call
public java.lang.Throwable call()
throws java.lang.Exception
- Specified by:
call
in interface java.util.concurrent.Callable<java.lang.Throwable>
- Throws:
java.lang.Exception
run
public void run(java.lang.Object input)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
initialize
public void initialize()
- Description copied from class:
Duct
- Called immediately after bind
- Overrides:
initialize
in class Duct<java.lang.Void,TupleEntry>
receive
public void receive(Duct previous,
java.lang.Void nada)
- Overrides:
receive
in class Stage<java.lang.Void,TupleEntry>
Copyright © 2007-2011 Concurrent, Inc. All Rights Reserved.