org.apache.hadoop.hive.hbase
Class HBaseStatsAggregator

java.lang.Object
  extended by org.apache.hadoop.hive.hbase.HBaseStatsAggregator
All Implemented Interfaces:
StatsAggregator

public class HBaseStatsAggregator
extends Object
implements StatsAggregator

A class that implements the StatsAggregator interface through HBase.


Constructor Summary
HBaseStatsAggregator()
           
 
Method Summary
 String aggregateStats(String rowID, String key)
          Aggregates temporary stats from HBase;
 boolean cleanUp(String rowID)
           
 boolean closeConnection()
           
 boolean connect(org.apache.hadoop.conf.Configuration hiveconf, Task sourceTask)
          Does the necessary HBase initializations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HBaseStatsAggregator

public HBaseStatsAggregator()
Method Detail

connect

public boolean connect(org.apache.hadoop.conf.Configuration hiveconf,
                       Task sourceTask)
Does the necessary HBase initializations.

Specified by:
connect in interface StatsAggregator

aggregateStats

public String aggregateStats(String rowID,
                             String key)
Aggregates temporary stats from HBase;

Specified by:
aggregateStats in interface StatsAggregator

closeConnection

public boolean closeConnection()
Specified by:
closeConnection in interface StatsAggregator

cleanUp

public boolean cleanUp(String rowID)
Specified by:
cleanUp in interface StatsAggregator


Copyright © 2014 The Apache Software Foundation. All rights reserved.