Class ESAuditBackend.ESCursorResult

    • Field Detail

      • scrollId

        protected final String scrollId
      • end

        protected boolean end
    • Constructor Detail

      • ESCursorResult

        public ESCursorResult​(org.elasticsearch.action.search.SearchResponse response,
                              int batchSize,
                              int keepAliveSeconds)
    • Method Detail

      • hasNext

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

        public org.elasticsearch.search.SearchHit next()
        Specified by:
        next in interface Iterator<org.elasticsearch.search.SearchHit>
        Overrides:
        next in class CursorResult<Iterator<org.elasticsearch.search.SearchHit>,​org.elasticsearch.search.SearchHit>
      • runNextScroll

        protected void runNextScroll()