net.sf.xaj
Interface XmlDb.SearchResultsMetadata

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BasicSearchResultsMetadata
Enclosing interface:
XmlDb

public static interface XmlDb.SearchResultsMetadata
extends java.io.Serializable

Metadata about SearchResults.


Method Summary
 long getSearchTimeInMillis()
          Get the number of milliseconds the execution of the search took.
 int getTotalMatches()
          Get the total number of matches for the query.
 

Method Detail

getTotalMatches

int getTotalMatches()
Get the total number of matches for the query.

Returns:
total number of matches

getSearchTimeInMillis

long getSearchTimeInMillis()
Get the number of milliseconds the execution of the search took.

Returns:
milliseconds