Class PaginatingSource<T>

    • Constructor Detail

    • Method Detail

      • read

        public ResultSet<T> read()
        Description copied from interface: DataSource
        Returns read from the index and return the results.
        Specified by:
        read in interface DataSource<T>
      • match

        protected boolean match​(T object)
      • isMatchable

        protected boolean isMatchable()
      • transformBuffer

        protected List<T> transformBuffer​(List<T> buffer)
      • getCardinality

        public int getCardinality()
        Description copied from interface: HasCardinality
        Returns an estimate of the number of results a source can return.
        Specified by:
        getCardinality in interface HasCardinality