public class StatisticsImporter extends Object
ClassicDSpaceLogConverter) into Solr.ClassicDSpaceLogConverter| Modifier and Type | Field and Description |
|---|---|
protected BitstreamService |
bitstreamService |
protected CollectionService |
collectionService |
protected CommunityService |
communityService |
protected ItemService |
itemService |
protected SolrLoggerService |
solrLoggerService |
| Constructor and Description |
|---|
StatisticsImporter(boolean local)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
load(String filename,
Context context,
boolean verbose)
Read lines from the statistics file and load their data into solr.
|
static void |
main(String[] args)
Main method to run the statistics importer.
|
protected final SolrLoggerService solrLoggerService
protected final BitstreamService bitstreamService
protected final CollectionService collectionService
protected final CommunityService communityService
protected final ItemService itemService
public StatisticsImporter(boolean local)
local - Whether to use local dataCopyright © 2017 DuraSpace. All rights reserved.