Interface SearchTypeHandler<S extends SearchType,Q,R>
- Type Parameters:
S
- the SearchType implementation this handler deals withQ
- the backend-specific query builderR
- the backend-specific result type
public interface SearchTypeHandler<S extends SearchType,Q,R>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doGenerateQueryPart
(Query query, S searchType, Q queryContext) default SearchType.Result
extractResult
(SearchJob job, Query query, SearchType searchType, R queryResult, Q queryContext) default void
generateQueryPart
(Query query, SearchType searchType, Q queryContext)
-
Method Details
-
generateQueryPart
-
doGenerateQueryPart
-
extractResult
default SearchType.Result extractResult(SearchJob job, Query query, SearchType searchType, R queryResult, Q queryContext) -
doExtractResultImpl
-