public class Log4jSolrQueryStatisticsAggregator extends Object implements SolrQueryStatisticsAggregator
| Constructor and Description |
|---|
Log4jSolrQueryStatisticsAggregator() |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatedSearchQueryInfo> |
aggregate()
Aggregates query statistics and returns it as a collection
|
protected File[] |
getLogFilesToProcess() |
protected List<SearchQueryInfo> |
processFile(File file) |
void |
setFilePrefix(String filePrefix) |
void |
setFormatter(SimpleDateFormat formatter) |
void |
setStatisticFilesFolder(String statisticFilesFolder) |
void |
setStatisticsCollector(StatisticsCollector statisticsCollector) |
public List<AggregatedSearchQueryInfo> aggregate()
SolrQueryStatisticsAggregatoraggregate in interface SolrQueryStatisticsAggregatorprotected File[] getLogFilesToProcess()
protected List<SearchQueryInfo> processFile(File file) throws IOException
IOExceptionpublic void setStatisticFilesFolder(String statisticFilesFolder)
public void setFilePrefix(String filePrefix)
public void setFormatter(SimpleDateFormat formatter)
public void setStatisticsCollector(StatisticsCollector statisticsCollector)
Copyright © 2017 SAP SE. All Rights Reserved.