R
- Type extending QueryResult interface.T
- Type extending QueryResultData interface.public interface ScrolledQueryResultTransformer<R extends QueryResult,T extends QueryResultData<R>> extends QueryResultTransformer
Modifier and Type | Method and Description |
---|---|
T |
getResult(Integer hits,
List<R> data)
Returns instance of QueryResult created from parameters.
|
R |
getResult(Provider provider,
Map<String,Object> body)
Return the custom model instance by parsing the body.
|
getName, getResult
R getResult(Provider provider, Map<String,Object> body)
provider
- Document database provider from where response body is collected.body
- The content of one item from response represented as map.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries