StatsFactory function ( String arg0 , Configuration arg1 ) { StatsFactory loc0 = new StatsFactory ( arg1 ) ; if ( loc0 . initialize ( arg0 . toLowerCase ( ) ) ) { return loc0 ; } return null ; }
sets the paths of the implementation classes of publishing and aggregation istatspublisher and istatsaggregator interfaces . the paths are determined according to a configuration parameter which is passed as the user input for choosing the implementation as mysql , hbase , ... concode_field_sep Configuration jobConf concode_elem_sep Logger LOG concode_elem_sep Class<? extends Serializable> aggregatorImplementation concode_elem_sep Class<? extends Serializable> publisherImplementation concode_field_sep StatsAggregator getStatsAggregator concode_elem_sep boolean initialize concode_elem_sep StatsPublisher getStatsPublisher