public interface FlowStep<Config>
getSubmitPriority()
value determines the order in which
all steps will be submitted for execution. The default submit priority is 5.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CASCADING_FLOW_STEP_ID |
Modifier and Type | Method and Description |
---|---|
void |
addListener(FlowStepListener flowStepListener)
Method addListener registers the given
FlowStepListener with this instance. |
boolean |
containsPipeNamed(java.lang.String pipeName)
Returns true if this FlowStep contains a pipe/branch with the given name.
|
java.util.Set<Tap> |
getAllAccumulatedSources() |
Config |
getConfig()
Method getConfig returns the current initialized configuration.
|
Flow<Config> |
getFlow() |
java.lang.String |
getFlowID() |
java.lang.String |
getFlowName()
Method getParentFlowName returns the parentFlowName of this FlowStep object.
|
FlowStepStats |
getFlowStepStats() |
Group |
getGroup() |
java.util.List<Group> |
getGroups() |
java.lang.String |
getID()
Method getId returns the id of this FlowStep object.
|
java.lang.String |
getName()
Method getName returns the name of this FlowStep object.
|
Tap |
getSink() |
java.util.Set<java.lang.String> |
getSinkName(Tap sink) |
java.util.Set<Tap> |
getSinks() |
Tap |
getSinkWith(java.lang.String identifier) |
java.util.Set<java.lang.String> |
getSourceName(Tap source) |
java.util.Set<Tap> |
getSources() |
Tap |
getSourceWith(java.lang.String identifier) |
java.lang.String |
getStepDisplayName()
Method getStepDisplayName returns the stepDisplayName of this FlowStep object.
|
int |
getStepNum() |
java.util.Map<HashJoin,Tap> |
getStreamedSourceByJoin() |
int |
getSubmitPriority()
Method getSubmitPriority returns the submitPriority of this FlowStep object.
|
Tap |
getTrap(java.lang.String name) |
java.util.Set<Tap> |
getTraps() |
boolean |
hasListeners()
Method hasListeners returns true if
FlowStepListener instances have been registered. |
boolean |
removeListener(FlowStepListener flowStepListener)
Method removeListener removes the given flowStepListener from this instance.
|
void |
setSubmitPriority(int submitPriority)
Method setSubmitPriority sets the submitPriority of this FlowStep object.
|
static final java.lang.String CASCADING_FLOW_STEP_ID
java.lang.String getID()
int getStepNum()
java.lang.String getName()
java.lang.String getFlowID()
java.lang.String getFlowName()
Config getConfig()
java.lang.String getStepDisplayName()
int getSubmitPriority()
void setSubmitPriority(int submitPriority)
submitPriority
- the submitPriority of this FlowStep object.Group getGroup()
java.util.List<Group> getGroups()
java.util.Set<Tap> getAllAccumulatedSources()
java.util.Set<Tap> getSources()
java.util.Set<Tap> getSinks()
Tap getSink()
java.util.Set<java.lang.String> getSourceName(Tap source)
java.util.Set<java.lang.String> getSinkName(Tap sink)
Tap getSourceWith(java.lang.String identifier)
Tap getSinkWith(java.lang.String identifier)
java.util.Set<Tap> getTraps()
Tap getTrap(java.lang.String name)
boolean containsPipeNamed(java.lang.String pipeName)
pipeName
- the name of the PipeFlowStepStats getFlowStepStats()
boolean hasListeners()
FlowStepListener
instances have been registered.void addListener(FlowStepListener flowStepListener)
FlowStepListener
with this instance.flowStepListener
- of type flowStepListenerboolean removeListener(FlowStepListener flowStepListener)
flowStepListener
- of type FlowStepListener