org.apache.hadoop.hive.hbase
Class HBaseStatsAggregator
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBaseStatsAggregator
public HBaseStatsAggregator()
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.