|
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.hive.HiveExecutor
public abstract class HiveExecutor
Common class for configuring and executing Hive scripts. Shared by the Hive tasklet and runner.
Constructor Summary | |
---|---|
HiveExecutor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HiveExecutor()
Method Detail |
---|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
protected 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
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |