public class ResultSelected extends Entry
ResultSelected...| Modifier and Type | Field and Description |
|---|---|
static String |
AVG_POSITION
Name of the property that contains the average position of a selected
result.
|
static String |
COUNT
Name of the property that contains the count.
|
static String |
QUERIES
Name of the property that contains the recent queries that lead to this
result.
|
static String |
ROLLING_MONTH_COUNT
Name of the property that contains the rolling month count.
|
static String |
ROLLING_WEEK_COUNT
Name of the property that contains the rolling week count.
|
| Constructor and Description |
|---|
ResultSelected(String pathPrefix,
String path,
long position,
String query)
Creates a new
ResultSelected instance. |
| Modifier and Type | Method and Description |
|---|---|
String |
getResultPath() |
void |
write(Node node)
Writes the statistics to the passed node.
|
getPath, getPathPrefix, getTimestamp, setPathPrefix, setTimestamp, writepublic static final String COUNT
public static final String ROLLING_WEEK_COUNT
public static final String ROLLING_MONTH_COUNT
public static final String AVG_POSITION
public static final String QUERIES
public ResultSelected(String pathPrefix, String path, long position, String query)
ResultSelected instance.pathPrefix - the location where the query information will be
stored.path - the path of the selected result.position - the position of the result.query - the query that lead to this result.public void write(Node node) throws RepositoryException
write in class Entrynode - the node where to write the statistics.RepositoryException - if an error occurs while writing.public String getResultPath()
Copyright © 2010 - 2020 Adobe. All Rights Reserved