Class FilteringPaginationIterator<S,T>

java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<T>
org.projectnessie.versioned.paging.FilteringPaginationIterator<S,T>
All Implemented Interfaces:
AutoCloseable, Iterator<T>, PaginationIterator<T>

public abstract class FilteringPaginationIterator<S,T> extends com.google.common.collect.AbstractIterator<T> implements PaginationIterator<T>
  • Constructor Details

  • Method Details

    • computeNext

      protected T computeNext()
      Specified by:
      computeNext in class com.google.common.collect.AbstractIterator<T>
    • current

      protected S current()
    • tokenForCurrent

      public final String tokenForCurrent()
      Specified by:
      tokenForCurrent in interface PaginationIterator<S>
    • computeTokenForCurrent

      protected abstract String computeTokenForCurrent()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface PaginationIterator<S>