Package org.dspace.statistics.util
Class StatisticsImporter
- java.lang.Object
-
- org.dspace.statistics.util.StatisticsImporter
-
public class StatisticsImporter extends Object
Class to load intermediate statistics files (produced from log files byClassicDSpaceLogConverter) into Solr.- Author:
- Stuart Lewis
- See Also:
ClassicDSpaceLogConverter
-
-
Field Summary
Fields Modifier and Type Field Description protected BitstreamServicebitstreamServiceprotected CollectionServicecollectionServiceprotected CommunityServicecommunityServiceprotected static ConfigurationServiceconfigurationServiceprotected ItemServiceitemServiceprotected SolrLoggerServicesolrLoggerService
-
Constructor Summary
Constructors Constructor Description StatisticsImporter(boolean local)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidload(String filename, Context context, boolean verbose)Read lines from the statistics file and load their data into solr.static voidmain(String[] args)Main method to run the statistics importer.
-
-
-
Field Detail
-
solrLoggerService
protected final SolrLoggerService solrLoggerService
-
configurationService
protected static final ConfigurationService configurationService
-
bitstreamService
protected final BitstreamService bitstreamService
-
collectionService
protected final CollectionService collectionService
-
communityService
protected final CommunityService communityService
-
itemService
protected final ItemService itemService
-
-