T
- result type, e.g. Hitpublic class SearchCountFromResults<T extends Results<?>> extends SearchCount
Constructor and Description |
---|
SearchCountFromResults(QueryInfo queryInfo,
SearchResults<T> source,
ResultCount.CountType type,
boolean fetchAllResults) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected ResultCount |
executeInternal() |
boolean |
fetchAllResults()
Should we fetch all results in the cache thread?
Normally, the cache thread just makes sure the results instance exists,
but doesn't explicitly fetch any results.
|
int |
hashCode() |
String |
toString() |
cancelSearch, execute, executeAsync, getFromCache, getFromCacheBlock, queryInfo, toString
public SearchCountFromResults(QueryInfo queryInfo, SearchResults<T> source, ResultCount.CountType type, boolean fetchAllResults)
protected ResultCount executeInternal() throws InvalidQuery
executeInternal
in class AbstractSearch<ResultCount>
InvalidQuery
public int hashCode()
hashCode
in interface Search<ResultCount>
hashCode
in class AbstractSearch<ResultCount>
public boolean equals(Object obj)
equals
in interface Search<ResultCount>
equals
in class AbstractSearch<ResultCount>
public String toString()
toString
in interface Search<ResultCount>
toString
in class Object
public boolean fetchAllResults()
Search
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.