|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.stats.StatsFactory
public final class StatsFactory
A factory of stats publisher and aggregator implementations of the StatsPublisher and StatsAggregator interfaces.
Constructor Summary | |
---|---|
StatsFactory()
|
Method Summary | |
---|---|
static StatsAggregator |
getStatsAggregator()
Returns a Stats Aggregator implementation class for the IStatsAggregator interface For example HBaseStatsAggregator for the HBase implementation |
static StatsPublisher |
getStatsPublisher()
Returns a Stats publisher implementation class for the IStatsPublisher interface For example HBaseStatsPublisher for the HBase implementation |
static boolean |
setImplementation(String configurationParam,
Configuration conf)
Sets the paths of the implementation classes of publishing and aggregation (IStatsPublisher and IStatsAggregator interfaces). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatsFactory()
Method Detail |
---|
public static boolean setImplementation(String configurationParam, Configuration conf)
public static StatsPublisher getStatsPublisher()
public static StatsAggregator getStatsAggregator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |