public class QueryStatus extends Object
Constructor and Description |
---|
QueryStatus(String source) |
QueryStatus(String source,
Set<ProcessingDetails> processingDetails,
int totalHits,
org.codice.ddf.ui.searchui.query.model.QueryStatus.State state) |
Modifier and Type | Method and Description |
---|---|
void |
addReason(String reason) |
Set<ProcessingDetails> |
getDetails() |
long |
getElapsed() |
long |
getHits() |
List<String> |
getReasons() |
long |
getResultCount() |
String |
getSourceId() |
org.codice.ddf.ui.searchui.query.model.QueryStatus.State |
getState() |
boolean |
hasReasons() |
boolean |
isDone() |
void |
setDetails(Set<ProcessingDetails> processingDetails) |
void |
setElapsed(long elapsed) |
void |
setHits(long totalHits) |
void |
setResultCount(long count) |
void |
setSourceId(String sourceId) |
void |
setState(org.codice.ddf.ui.searchui.query.model.QueryStatus.State state) |
public QueryStatus(String source)
public QueryStatus(String source, Set<ProcessingDetails> processingDetails, int totalHits, org.codice.ddf.ui.searchui.query.model.QueryStatus.State state)
public long getElapsed()
public void setElapsed(long elapsed)
public org.codice.ddf.ui.searchui.query.model.QueryStatus.State getState()
public void setState(org.codice.ddf.ui.searchui.query.model.QueryStatus.State state)
public long getResultCount()
public void setResultCount(long count)
public long getHits()
public void setHits(long totalHits)
public Set<ProcessingDetails> getDetails()
public void setDetails(Set<ProcessingDetails> processingDetails)
public String getSourceId()
public void setSourceId(String sourceId)
public boolean isDone()
public boolean hasReasons()
public void addReason(String reason)
This work is licensed under a Creative Commons Attribution 4.0 International License.