lux
Class QueryStats

java.lang.Object
  extended by lux.QueryStats

public class QueryStats
extends Object

Holds statistics about a single query execution


Field Summary
 long collectionTime
          time spent collecting results (parsing and computing xpath, mostly), in nanoseconds
 int docCount
          the number of documents that matched the lucene query.
 String optimizedQuery
           
 String query
          A description of the work done prior to collection; usu.
 long queryFacts
          A record of the query's facts.
 long retrievalTime
          time spent retrieving and parsing documents
 long totalTime
           
 
Constructor Summary
QueryStats()
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

docCount

public int docCount
the number of documents that matched the lucene query. If XPath was executed (there wasn't a short-circuited eval of some sort), this number of XML documents will have been retrieved from the database and processed.


collectionTime

public long collectionTime
time spent collecting results (parsing and computing xpath, mostly), in nanoseconds


totalTime

public long totalTime

query

public String query
A description of the work done prior to collection; usu. the Lucene Query generated from the XPath and used to retrieve a set of candidate documents for evaluation.


queryFacts

public long queryFacts
A record of the query's facts. If multiple queries were evaluated, the facts are combined using bitwise AND.


retrievalTime

public long retrievalTime
time spent retrieving and parsing documents


optimizedQuery

public String optimizedQuery
Constructor Detail

QueryStats

public QueryStats()
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.