Class FlexibleSearchResultSpliterator

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Spliterator

        java.util.Spliterator.OfDouble, java.util.Spliterator.OfInt, java.util.Spliterator.OfLong, java.util.Spliterator.OfPrimitive<T extends java.lang.Object,​T_CONS extends java.lang.Object,​T_SPLITR extends java.util.Spliterator.OfPrimitive<T,​T_CONS,​T_SPLITR>>
    • Field Summary

      • Fields inherited from interface java.util.Spliterator

        CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<?> getNextBatch()  
      protected void runBeforeQueryHook()  
      boolean tryAdvance​(java.util.function.Consumer<? super SimpleBatchCreationData> action)  
      protected boolean tryFromDatabase​(java.util.function.Consumer<? super SimpleBatchCreationData> action)  
      protected boolean tryFromList​(java.util.function.Consumer<? super SimpleBatchCreationData> action)  
      • Methods inherited from class java.util.Spliterators.AbstractSpliterator

        characteristics, estimateSize, trySplit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Spliterator

        forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics
    • Method Detail

      • tryFromDatabase

        protected boolean tryFromDatabase​(java.util.function.Consumer<? super SimpleBatchCreationData> action)
      • tryFromList

        protected boolean tryFromList​(java.util.function.Consumer<? super SimpleBatchCreationData> action)
      • getNextBatch

        protected java.util.List<?> getNextBatch()
      • runBeforeQueryHook

        protected void runBeforeQueryHook()