|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.cascading.HadoopFlowFactoryBean
public class HadoopFlowFactoryBean
Factory for declarative HadoopFlow
creation. Usually used with a Cascade
.
Note the flow is not started.
Constructor Summary | |
---|---|
HadoopFlowFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
T |
getObject()
|
Class<?> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setBeanName(String name)
|
void |
setConfiguration(Configuration configuration)
Sets the configuration. |
void |
setFlowDef(FlowDef flowDef)
Sets the flow definition. |
void |
setJobPoolingInterval(Long jobPoolingInterval)
Sets the job pooling interval. |
void |
setListeners(Collection<FlowListener> listeners)
Sets the listeners. |
void |
setMaxConcurrentSteps(Integer maxConcurrentSteps)
Sets the max concurrent steps. |
void |
setPriority(Integer priority)
Sets the flow submit priority. |
void |
setProperties(Properties properties)
Sets the properties. |
void |
setSink(Tap sink)
|
void |
setSinks(Map<String,Tap> sinks)
Sets the sinks. |
void |
setSkipStrategy(FlowSkipStrategy skipStrategy)
Sets the skip strategy. |
void |
setSource(Tap source)
|
void |
setSources(Map<String,Tap> sources)
Sets the sources. |
void |
setStepStrategy(FlowStepStrategy stepStrategy)
Sets the step strategy. |
void |
setTail(Pipe tail)
Sets the tail. |
void |
setTails(Collection<Pipe> tails)
Sets the tails. |
void |
setTraps(Map<String,Tap> traps)
Sets the traps. |
void |
setWriteDOT(String writeDOT)
Sets the write dot. |
void |
setWriteStepsDOT(String writeStepsDOT)
Sets the write steps dot. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HadoopFlowFactoryBean()
Method Detail |
---|
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setConfiguration(Configuration configuration)
configuration
- The configuration to set.public void setProperties(Properties properties)
properties
- The properties to set.public void setMaxConcurrentSteps(Integer maxConcurrentSteps)
maxConcurrentSteps
- The maxConcurrentSteps to set.public void setJobPoolingInterval(Long jobPoolingInterval)
jobPoolingInterval
- The jobPoolingInterval to set.public void setSources(Map<String,Tap> sources)
sources
- The sources to set.public void setSource(Tap source)
public void setSinks(Map<String,Tap> sinks)
sinks
- The sinks to set.public void setSink(Tap sink)
public void setTraps(Map<String,Tap> traps)
traps
- The traps to set.public void setTails(Collection<Pipe> tails)
tails
- The tails to set.public void setTail(Pipe tail)
tail
- the new tailpublic void setFlowDef(FlowDef flowDef)
flowDef
- public T getObject() throws Exception
getObject
in interface FactoryBean<T extends Flow<?>>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<T extends Flow<?>>
public boolean isSingleton()
isSingleton
in interface FactoryBean<T extends Flow<?>>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void setSkipStrategy(FlowSkipStrategy skipStrategy)
skipStrategy
- The skipStrategy to set.public void setStepStrategy(FlowStepStrategy stepStrategy)
stepStrategy
- The stepStrategy to set.public void setListeners(Collection<FlowListener> listeners)
listeners
- The listeners to set.public void setWriteDOT(String writeDOT)
writeDOT
- the new write dotpublic void setWriteStepsDOT(String writeStepsDOT)
writeStepsDOT
- the new write steps dotpublic void setPriority(Integer priority)
priority
- flow priority
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |