public abstract class HiveExecutor extends Object implements InitializingBean
| Constructor and Description |
|---|
HiveExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
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.
|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic 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