|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.hive.HiveTasklet
public class HiveTasklet
Hive tasklet running Hive scripts on demand, against a HiveClient.
| Constructor Summary | |
|---|---|
HiveTasklet()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
RepeatStatus |
execute(StepContribution contribution,
ChunkContext chunkContext)
|
protected List<String> |
executeHiveScripts()
|
void |
setHiveClientFactory(HiveClientFactory hiveClientFactory)
Sets the hive client for this tasklet. |
void |
setHiveTemplate(HiveOperations hiveTemplate)
Sets the hive template. |
void |
setScripts(Collection<HiveScript> scripts)
Sets the scripts to be executed by this tasklet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HiveTasklet()
| Method Detail |
|---|
public RepeatStatus execute(StepContribution contribution,
ChunkContext chunkContext)
throws Exception
execute in interface TaskletException
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionprotected List<String> executeHiveScripts()
public void setScripts(Collection<HiveScript> scripts)
scripts - The scripts to set.public void setHiveClientFactory(HiveClientFactory hiveClientFactory)
hiveClientFactory - hiveFactory to setpublic void setHiveTemplate(HiveOperations hiveTemplate)
hiveTemplate - the new hive template
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||