|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.clarkparsia.stardog.api.search.SearchResults
public final class SearchResults
A wrapper around the search results that may additionally have suggestions for an alternative search string.
| Constructor Summary | |
|---|---|
SearchResults(String searchString,
Iteration<SearchResult,QueryEvaluationException> results,
List<String> suggestions,
int offset)
|
|
| Method Summary | |
|---|---|
int |
getOffset()
Returns the offset for this slice of results. |
String |
getSearchString()
Returns the search string that was used to create this result. |
Iteration<SearchResult,QueryEvaluationException> |
iteration()
Returns the suggestions for the original search string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchResults(String searchString,
Iteration<SearchResult,QueryEvaluationException> results,
List<String> suggestions,
int offset)
| Method Detail |
|---|
public int getOffset()
public String getSearchString()
public Iteration<SearchResult,QueryEvaluationException> iteration()
null.
iteration in interface SupportsIteration<SearchResult,QueryEvaluationException>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||