java.lang.Object
org.elasticsearch.xpack.core.security.ScrollHelper

public final class ScrollHelper extends Object
  • 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.