protected class ReactiveElasticsearchTemplate.ReadSearchDocumentCallback<T> extends Object implements ReactiveElasticsearchTemplate.SearchDocumentCallback<T>
Constructor and Description |
---|
ReadSearchDocumentCallback(Class<T> type,
IndexCoordinates index) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<T> |
toEntity(SearchDocument response) |
reactor.core.publisher.Mono<SearchHit<T>> |
toSearchHit(SearchDocument response) |
public ReadSearchDocumentCallback(Class<T> type, IndexCoordinates index)
public reactor.core.publisher.Mono<T> toEntity(SearchDocument response)
toEntity
in interface ReactiveElasticsearchTemplate.SearchDocumentCallback<T>
public reactor.core.publisher.Mono<SearchHit<T>> toSearchHit(SearchDocument response)
toSearchHit
in interface ReactiveElasticsearchTemplate.SearchDocumentCallback<T>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.