public class RavenQueryStatistics extends Object
Constructor and Description |
---|
RavenQueryStatistics() |
Modifier and Type | Method and Description |
---|---|
long |
getDurationMiliseconds() |
Etag |
getIndexEtag() |
String |
getIndexName() |
Date |
getIndexTimestamp() |
Date |
getLastQueryTime() |
Etag |
getResultEtag() |
long |
getResultSize()
The size of the request which were sent from the server.
|
Map<String,String> |
getScoreExplanations() |
int |
getSkippedResults() |
Date |
getTimestamp() |
Map<String,Double> |
getTimingsInMilliseconds() |
int |
getTotalResults() |
boolean |
isNonAuthoritativeInformation()
Gets a value indicating whether any of the documents returned by this query
are non authoritative (modified by uncommitted transaction).
|
boolean |
isStale() |
void |
setDurationMiliseconds(long durationMiliseconds)
The duration of the query _server side_
|
void |
setIndexEtag(Etag indexEtag)
The etag of the queried index
|
void |
setIndexName(String indexName)
The name of the index queried
|
void |
setIndexTimestamp(Date indexTimestamp)
The timestamp of the queried index
|
void |
setLastQueryTime(Date lastQueryTime)
The timestamp of the last time the index was queried
|
void |
setNonAuthoritativeInformation(boolean nonAuthoritativeInformation)
Sets a value indicating whether any of the documents returned by this query
are non authoritative (modified by uncommitted transaction).
|
void |
setResultEtag(Etag resultEtag) |
void |
setResultSize(long resultSize) |
void |
setSkippedResults(int skippedResults)
Sets the skipped results
|
void |
setStale(boolean stale)
Whatever the query returned potentially stale results
|
void |
setTimestamp(Date timestamp)
The time when the query results were unstale.
|
void |
setTimingsInMilliseconds(Map<String,Double> timingsInMilliseconds) |
void |
setTotalResults(int totalResults)
What was the total count of the results that matched the query
|
void |
updateQueryStats(QueryResult qr) |
public Etag getResultEtag()
public void setResultEtag(Etag resultEtag)
public long getResultSize()
public void setResultSize(long resultSize)
public void setTimingsInMilliseconds(Map<String,Double> timingsInMilliseconds)
public boolean isStale()
public void setStale(boolean stale)
stale
- public long getDurationMiliseconds()
public void setDurationMiliseconds(long durationMiliseconds)
durationMiliseconds
- public int getTotalResults()
public void setTotalResults(int totalResults)
totalResults
- public int getSkippedResults()
public void setSkippedResults(int skippedResults)
skippedResults
- public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp
- public String getIndexName()
public void setIndexName(String indexName)
indexName
- public Date getIndexTimestamp()
public void setIndexTimestamp(Date indexTimestamp)
indexTimestamp
- public Etag getIndexEtag()
public void setIndexEtag(Etag indexEtag)
indexEtag
- public boolean isNonAuthoritativeInformation()
public void setNonAuthoritativeInformation(boolean nonAuthoritativeInformation)
public Date getLastQueryTime()
public void setLastQueryTime(Date lastQueryTime)
lastQueryTime
- public void updateQueryStats(QueryResult qr)
Copyright © 2016. All Rights Reserved.