public class Query extends Entry
Query provides information about a query execution.| Constructor and Description |
|---|
Query(String pathPrefix,
String query,
long numResults,
long executionTime)
Creates a new query instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(Node node)
Writes the statistics to the passed node.
|
getPath, getPathPrefix, getTimestamp, setPathPrefix, setTimestamp, writepublic Query(String pathPrefix, String query, long numResults, long executionTime)
pathPrefix - the location where the query information will be
stored.query - the query string as entered by the user.numResults - the total number of results.executionTime - the execution time of the query.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.Copyright © 2010 - 2020 Adobe. All Rights Reserved