Spring for Apache Hadoop

org.springframework.data.hadoop.batch.hive
Class HiveTasklet

java.lang.Object
  extended by org.springframework.data.hadoop.hive.HiveExecutor
      extended by org.springframework.data.hadoop.batch.hive.HiveTasklet
All Implemented Interfaces:
org.springframework.batch.core.step.tasklet.Tasklet, org.springframework.beans.factory.InitializingBean

public class HiveTasklet
extends HiveExecutor
implements org.springframework.batch.core.step.tasklet.Tasklet

Hive tasklet running Hive scripts on demand, against a HiveClient.

Author:
Costin Leau

Constructor Summary
HiveTasklet()
           
 
Method Summary
 org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext)
           
 
Methods inherited from class org.springframework.data.hadoop.hive.HiveExecutor
afterPropertiesSet, executeHiveScripts, setHiveClientFactory, setHiveTemplate, setScripts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveTasklet

public HiveTasklet()
Method Detail

execute

public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution,
                                                             org.springframework.batch.core.scope.context.ChunkContext chunkContext)
                                                      throws java.lang.Exception
Specified by:
execute in interface org.springframework.batch.core.step.tasklet.Tasklet
Throws:
java.lang.Exception

Spring for Apache Hadoop