|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.mapreduce.ToolTasklet
public class ToolTasklet
Tasklet for executing Hadoop Tool
s.
Constructor Summary | |
---|---|
ToolTasklet()
|
Method Summary | |
---|---|
RepeatStatus |
execute(StepContribution contribution,
ChunkContext chunkContext)
|
void |
setArguments(String[] arguments)
Sets the arguments. |
void |
setConfiguration(Configuration configuration)
Sets the configuration. |
void |
setProperties(Properties properties)
Sets the properties. |
void |
setTool(Tool tool)
Sets the tool. |
void |
setToolClass(Class<? extends Tool> toolClass)
Sets the tool class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolTasklet()
Method Detail |
---|
public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception
execute
in interface Tasklet
Exception
public void setTool(Tool tool)
tool
- The tool to set.public void setToolClass(Class<? extends Tool> toolClass)
toolClass
- the new tool classpublic void setArguments(String[] arguments)
arguments
- The arguments to set.public void setConfiguration(Configuration configuration)
configuration
- The configuration to set.public void setProperties(Properties properties)
properties
- The properties to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |