Class StatisticsIndexer
java.lang.Object
io.goobi.viewer.model.statistics.usage.StatisticsIndexer
Writes Indexing files for SOLR indexer
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionconstructor using thehotfolder
given byConfiguration.getHotfolder()
StatisticsIndexer
(Path hotfolder) default constructor -
Method Summary
Modifier and TypeMethodDescriptionWrite index file tohotfolder
path for the givenDailySessionUsageStatistics
-
Constructor Details
-
StatisticsIndexer
default constructor- Parameters:
hotfolder
- thehotfolder
-
StatisticsIndexer
constructor using thehotfolder
given byConfiguration.getHotfolder()
- Throws:
DAOException
-
-
Method Details
-
indexStatistics
Write index file tohotfolder
path for the givenDailySessionUsageStatistics
- Parameters:
stats
- the statistics to index- Returns:
- The filepath to the index files
- Throws:
DAOException
IOException
-