Interface SearchDocumentResponse.EntityCreator<T>
- Type Parameters:
T- the entity type
- All Superinterfaces:
Function<SearchDocument, CompletableFuture<T>>
- Enclosing class:
SearchDocumentResponse
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface SearchDocumentResponse.EntityCreator<T>
extends Function<SearchDocument, CompletableFuture<T>>
A function to convert a
SearchDocument async into an entity. Asynchronous so that it can be used from the
imperative and the reactive code.- Since:
- 4.0
- Author:
- Peter-Josef Meisch, Haibo Liu, Mohamed El Harrougui
-
Method Summary