public final class SearchResults extends Object implements Iterable<SearchResult>
Constructor and Description |
---|
SearchResults(String searchString,
CloseableIterator<SearchResult> results,
List<String> suggestions,
int offset) |
Modifier and Type | Method and Description |
---|---|
int |
getOffset()
Returns the offset for this slice of results.
|
String |
getSearchString()
Returns the search string that was used to create this result.
|
CloseableIterator<SearchResult> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SearchResults(String searchString, CloseableIterator<SearchResult> results, List<String> suggestions, int offset)
public int getOffset()
public String getSearchString()
public CloseableIterator<SearchResult> iterator()
iterator
in interface Iterable<SearchResult>
Copyright © 2010-2016 Stardog Union. All Rights Reserved.