public abstract class HiveExecutor
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
HiveExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected java.util.List<java.lang.String> |
executeHiveScripts() |
void |
setHiveClientFactory(HiveClientFactory hiveClientFactory)
Sets the hive client for this tasklet.
|
void |
setHiveTemplate(HiveOperations hiveTemplate)
Sets the hive template.
|
void |
setScripts(java.util.Collection<HiveScript> scripts)
Sets the scripts to be executed by this tasklet.
|
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionprotected java.util.List<java.lang.String> executeHiveScripts()
public void setScripts(java.util.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