Class Query

  • public class Query
    extends Entry
    Query provides information about a query execution.
    • Constructor Detail

      • Query

        public Query​(String pathPrefix,
                     String query,
                     long numResults,
                     long executionTime)
        Creates a new query instance.
        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.
    • Method Detail

      • write

        public void write​(Node node)
                   throws RepositoryException
        Writes the statistics to the passed node.
        write in class Entry
        node - the node where to write the statistics.
        RepositoryException - if an error occurs while writing.