|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatsPublisher
An interface for any possible implementation for publishing statics.
Method Summary | |
---|---|
boolean |
closeConnection()
This method closes the connection to the temporary storage. |
boolean |
connect(org.apache.hadoop.conf.Configuration hconf)
This method connects to the intermediate statistics database. |
boolean |
init(org.apache.hadoop.conf.Configuration hconf)
This method does the necessary one-time initializations, possibly creating the tables and database (if not exist). |
boolean |
publishStat(String fileID,
String statType,
String value)
This method publishes a given statistic into a disk storage, possibly HBase or MySQL. |
Method Detail |
---|
boolean init(org.apache.hadoop.conf.Configuration hconf)
hconf
- HiveConf that contains the configurations parameters used to connect to
intermediate stats database.
boolean connect(org.apache.hadoop.conf.Configuration hconf)
hconf
- HiveConf that contains the connection parameters.
boolean publishStat(String fileID, String statType, String value)
boolean closeConnection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |