|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 |
setAddCascadingJars(boolean addCascadingJars)
Indicates whether the Cascading library jars should be added to the flow classpath (through the DistributedCache). |
void |
setBeanName(String name)
|
void |
setConfiguration(Configuration configuration)
Sets the configuration. |
void |
setDefinition(FlowDef flowDef)
Sets the flow definition. |
void |
setJar(Resource jar)
Sets the job jar (which might not be on the classpath). |
void |
setJarByClass(Class<?> jarClass)
Determines the job jar (available on the classpath) based on the given class. |
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)
Sets the 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 BeanNameAwarepublic 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)
source - The source to set.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 setDefinition(FlowDef flowDef)
flowDef - public void setJarByClass(Class<?> jarClass)
jarClass - The jarClass to set.public void setJar(Resource jar)
jar - The jar to set.public void setAddCascadingJars(boolean addCascadingJars)
addCascadingJars - whether the Cascading library jars should be added to the flow classpath or not
public T getObject()
throws Exception
getObject in interface FactoryBean<T extends Flow<?>>Exceptionpublic 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 InitializingBeanExceptionpublic 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 | ||||||||