Class StatisticsIndexer
java.lang.Object
io.goobi.viewer.model.statistics.usage.StatisticsIndexer
Writes Indexing files for SOLR indexer.
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorsConstructorDescriptionconstructor using thehotfoldergiven byConfiguration.getHotfolder().StatisticsIndexer(Path hotfolder) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionWrite index file tohotfolderpath for the givenDailySessionUsageStatistics.
-
Constructor Details
-
StatisticsIndexer
Default constructor.- Parameters:
hotfolder- thehotfolder
-
StatisticsIndexer
constructor using thehotfoldergiven byConfiguration.getHotfolder().- Throws:
DAOException
-
-
Method Details
-
indexStatistics
Write index file tohotfolderpath for the givenDailySessionUsageStatistics.- Parameters:
stats- the statistics to index- Returns:
- The filepath to the index files
- Throws:
DAOExceptionIOException
-