public class SearchStatisticsReport extends Report
Modifier and Type | Class | Description |
---|---|---|
static class |
SearchStatisticsReport.SearchConversion |
Class holding data for rank, count conversion rate and impact for a phrase.
|
static class |
SearchStatisticsReport.SearchCount |
Class holding data for rank, count and search rate for a phrase.
|
Constructor | Description |
---|---|
SearchStatisticsReport(com.apptus.util.xml.XmlTree asXml,
TimeInterval interval,
Rate searchesWithHitsRate,
List<SearchStatisticsReport.SearchCount> searchesWithHits,
Rate searchesWithNoHitsRate,
List<SearchStatisticsReport.SearchCount> searchesWithNoHits,
List<SearchStatisticsReport.SearchConversion> searchesThatBoost,
List<SearchStatisticsReport.SearchConversion> searchesThatLower,
TimeZone tz) |
Creates an SearchStatisticsReport.
|
Modifier and Type | Method | Description |
---|---|---|
void |
exportToExcel(File file) |
Writes the report to a file.
|
static SearchStatisticsReport |
parse(com.apptus.util.xml.XmlScanner scanner,
TimeZone tz) |
Creates an SearchStatisticsReport from an XML document.
|
List<SearchStatisticsReport.SearchConversion> |
searchesThatBoostConversion() |
|
List<SearchStatisticsReport.SearchConversion> |
searchesThatLowerConversion() |
|
List<SearchStatisticsReport.SearchCount> |
searchesWithHits() |
|
Rate |
searchesWithHitsTotalRate() |
|
List<SearchStatisticsReport.SearchCount> |
searchesWithNoHits() |
|
Rate |
searchesWithNoHitsTotalRate() |
exportToXml, exportToXml, isoDateTimeFormat, timeInterval
public SearchStatisticsReport(com.apptus.util.xml.XmlTree asXml, TimeInterval interval, Rate searchesWithHitsRate, List<SearchStatisticsReport.SearchCount> searchesWithHits, Rate searchesWithNoHitsRate, List<SearchStatisticsReport.SearchCount> searchesWithNoHits, List<SearchStatisticsReport.SearchConversion> searchesThatBoost, List<SearchStatisticsReport.SearchConversion> searchesThatLower, TimeZone tz)
asXml
- An XmlTree to be used if the Report.exportToXml(java.io.File)
method is called.interval
- The time interval for the data in this report.searchesWithHitsRate
- The rate of searches that leads to at least one hit.searchesWithHits
- List of the most popular search phrases that has resulted in search hits.searchesWithNoHitsRate
- The rate of searches that does not lead to a no hit.searchesWithNoHits
- List of the most popular search phrases that has resulted in no hits.searchesThatBoost
- List of the search phrases that has largest positive impact on the conversion.searchesThatLower
- List of the search phrases that has largest negative impact on the conversion.tz
- The time zone to use when presenting this report.public static SearchStatisticsReport parse(com.apptus.util.xml.XmlScanner scanner, TimeZone tz) throws com.apptus.util.xml.FormatException, com.apptus.util.xml.SourceException
scanner
- A scanner for the XML document to parse.tz
- The time zone to use when presenting this report.AdPlacementReport
.com.apptus.util.xml.FormatException
- if the XML document does not match the expected format.com.apptus.util.xml.SourceException
- if the XML document contains errors like invalid XML or if the source is unreadable.public List<SearchStatisticsReport.SearchCount> searchesWithHits()
public Rate searchesWithHitsTotalRate()
public List<SearchStatisticsReport.SearchCount> searchesWithNoHits()
public Rate searchesWithNoHitsTotalRate()
public List<SearchStatisticsReport.SearchConversion> searchesThatBoostConversion()
public List<SearchStatisticsReport.SearchConversion> searchesThatLowerConversion()
public void exportToExcel(File file) throws FileNotFoundException
Report
exportToExcel
in class Report
file
- The file to write the report to.FileNotFoundException
- if the file does not exists or if the file is inaccessible.Copyright © 2020 Apptus Technologies AB. All rights reserved.