Interface AbstractReactiveElasticsearchTemplate.DocumentCallback<T>
- Type Parameters:
T
- the entity type
- All Known Implementing Classes:
AbstractReactiveElasticsearchTemplate.ReadDocumentCallback
- Enclosing class:
- AbstractReactiveElasticsearchTemplate
protected static interface AbstractReactiveElasticsearchTemplate.DocumentCallback<T>
Callback to convert
Document
into an entity of type T-
Method Summary
-
Method Details
-
toEntity
Convert a document into an entity- Parameters:
document
- the document to convert- Returns:
- a Mono of the entity
-