|
Spring for Apache Hadoop | ||||||||
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()
|
T |
getObject()
|
java.lang.Class<?> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setBeanName(java.lang.String name)
|
void |
setConfiguration(org.apache.hadoop.conf.Configuration configuration)
Sets the configuration. |
void |
setDeleteSinkOnInit(boolean deleteSinkOnInit)
Sets the delete sink on init. |
void |
setJob(org.apache.hadoop.mapreduce.Job job)
Sets the Hadoop job (as an alternative to setting a configuration). |
void |
setListeners(java.util.Collection<cascading.flow.FlowListener> listeners)
Sets the listeners. |
void |
setPriority(java.lang.Integer priority)
Sets the flow submit priority. |
void |
setProperties(java.util.Properties properties)
Sets the properties. |
void |
setSkipStrategy(cascading.flow.FlowSkipStrategy skipStrategy)
Sets the skip strategy. |
void |
setStepStrategy(cascading.flow.FlowStepStrategy stepStrategy)
Sets the step strategy. |
void |
setWriteDOT(java.lang.String writeDOT)
Sets the write dot. |
void |
setWriteStepsDOT(java.lang.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(java.lang.String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public void setJob(org.apache.hadoop.mapreduce.Job job)
job
- The job to set.public void setConfiguration(org.apache.hadoop.conf.Configuration configuration)
configuration
- The configuration to set.public void setProperties(java.util.Properties properties)
properties
- The properties to set.public void setDeleteSinkOnInit(boolean deleteSinkOnInit)
deleteSinkOnInit
- The deleteSinkOnInit to set.public T getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<T extends cascading.flow.Flow<?>>
java.lang.Exception
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<T extends cascading.flow.Flow<?>>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<T extends cascading.flow.Flow<?>>
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void setSkipStrategy(cascading.flow.FlowSkipStrategy skipStrategy)
skipStrategy
- The skipStrategy to set.public void setStepStrategy(cascading.flow.FlowStepStrategy stepStrategy)
stepStrategy
- The stepStrategy to set.public void setListeners(java.util.Collection<cascading.flow.FlowListener> listeners)
listeners
- The listeners to set.public void setWriteDOT(java.lang.String writeDOT)
writeDOT
- the new write dotpublic void setWriteStepsDOT(java.lang.String writeStepsDOT)
writeStepsDOT
- the new write steps dotpublic void setPriority(java.lang.Integer priority)
priority
- flow priority
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |