|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
MapReduceFlow |
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 |
setProperties(Properties properties)
Sets the properties. |
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 MapReduceFlow getObject()
getObject
in interface FactoryBean<MapReduceFlow>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<MapReduceFlow>
public boolean isSingleton()
isSingleton
in interface FactoryBean<MapReduceFlow>
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |