public class HiveRunner extends HiveExecutor implements java.util.concurrent.Callable<java.util.List<java.lang.String>>
setRunAtStartup(boolean)
.Constructor and Description |
---|
HiveRunner() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
java.util.List<java.lang.String> |
call() |
void |
setPostAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)
Actions to be invoked after running the action.
|
void |
setPreAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)
Actions to be invoked before running the action.
|
void |
setRunAtStartup(boolean runAtStartup)
Indicates whether the scripts should run at container startup or not (the default).
|
executeHiveScripts, setHiveClientFactory, setHiveTemplate, setScripts
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class HiveExecutor
java.lang.Exception
public java.util.List<java.lang.String> call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.util.List<java.lang.String>>
java.lang.Exception
public void setRunAtStartup(boolean runAtStartup)
runAtStartup
- The runAtStartup to set.public void setPreAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)
actions
- actionspublic void setPostAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)
actions
- actions