Class ElasticsearchScrollRequestIterator

    • Constructor Detail

      • ElasticsearchScrollRequestIterator

        public ElasticsearchScrollRequestIterator​(org.elasticsearch.action.search.SearchRequest searchRequest,
                                                  org.elasticsearch.client.RestHighLevelClient restHighLevelClient,
                                                  int scrollKeepAliveMs,
                                                  org.apache.camel.Exchange exchange)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<org.elasticsearch.search.SearchHit>
      • next

        public org.elasticsearch.search.SearchHit next()
        Specified by:
        next in interface Iterator<org.elasticsearch.search.SearchHit>
      • getRequestCount

        public int getRequestCount()
      • isClosed

        public boolean isClosed()