java.lang.Object
org.elasticsearch.xpack.core.security.ScrollHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidfetchAllByEntity(Client client, SearchRequest request, ActionListener<Collection<T>> listener, Function<SearchHit, T> hitParser) This method fetches all results for the given search request, parses them using the given hit parser and calls the listener once done.
-
Method Details
-
fetchAllByEntity
public static <T> void fetchAllByEntity(Client client, SearchRequest request, ActionListener<Collection<T>> listener, Function<SearchHit, T> hitParser) This method fetches all results for the given search request, parses them using the given hit parser and calls the listener once done.
-