|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.cascading.MapReduceFlowFactoryBean
public class MapReduceFlowFactoryBean
Factory for declarative MapReduceFlow creation. Usually used with a Cascade.
Note the flow is not started.
| Constructor Summary | |
|---|---|
MapReduceFlowFactoryBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
T |
getObject()
|
Class<?> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setBeanName(String name)
|
void |
setConfiguration(Configuration configuration)
Sets the configuration. |
void |
setDeleteSinkOnInit(boolean deleteSinkOnInit)
Sets the delete sink on init. |
void |
setJob(Job job)
Sets the Hadoop job (as an alternative to setting a configuration). |
void |
setListeners(Collection<FlowListener> listeners)
Sets the listeners. |
void |
setPriority(Integer priority)
Sets the flow submit priority. |
void |
setProperties(Properties properties)
Sets the properties. |
void |
setSkipStrategy(FlowSkipStrategy skipStrategy)
Sets the skip strategy. |
void |
setStepStrategy(FlowStepStrategy stepStrategy)
Sets the step strategy. |
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 MapReduceFlowFactoryBean()
| Method Detail |
|---|
public void setBeanName(String name)
setBeanName in interface BeanNameAwarepublic void setJob(Job job)
job - The job to set.public void setConfiguration(Configuration configuration)
configuration - The configuration to set.public void setProperties(Properties properties)
properties - The properties to set.public void setDeleteSinkOnInit(boolean deleteSinkOnInit)
deleteSinkOnInit - The deleteSinkOnInit to set.
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 | ||||||||