|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.hadoop.hive.hbase.HBaseStatsPublisher
public class HBaseStatsPublisher
A class that implements the StatsPublisher interface through HBase.
| Constructor Summary | |
|---|---|
HBaseStatsPublisher()
|
|
| Method Summary | |
|---|---|
boolean |
closeConnection()
|
boolean |
connect(org.apache.hadoop.conf.Configuration hiveconf)
Does the necessary HBase initializations. |
boolean |
init(org.apache.hadoop.conf.Configuration hiveconf)
Does the necessary HBase initializations. |
boolean |
publishStat(String rowID,
Map<String,String> stats)
Writes temporary statistics into HBase; |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HBaseStatsPublisher()
| Method Detail |
|---|
public boolean connect(org.apache.hadoop.conf.Configuration hiveconf)
connect in interface StatsPublisher
public boolean publishStat(String rowID,
Map<String,String> stats)
publishStat in interface StatsPublisherpublic boolean closeConnection()
closeConnection in interface StatsPublisherpublic boolean init(org.apache.hadoop.conf.Configuration hiveconf)
init in interface StatsPublisher
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||