Class TransformingFetchResult<T>

    • Constructor Detail

      • TransformingFetchResult

        public TransformingFetchResult​(FetchResult<I> in,
                                       Function<I,​T> func)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Description copied from interface: FetchResult
        Check if these results are empty.
        Specified by:
        isEmpty in interface FetchResult<T>
        Returns:
      • getLimit

        public long getLimit()
        Description copied from interface: FetchResult
        Get the limit used to fetch these results.
        Specified by:
        getLimit in interface FetchResult<T>
        Returns:
      • getOffset

        public long getOffset()
        Description copied from interface: FetchResult
        Get the offset used to fetch these results.
        Specified by:
        getOffset in interface FetchResult<T>
        Returns:
      • getSize

        public long getSize()
        Description copied from interface: FetchResult
        Get the number of returned results.
        Specified by:
        getSize in interface FetchResult<T>
        Returns:
      • getTotal

        public long getTotal()
        Description copied from interface: FetchResult
        Get the total number of results available.
        Specified by:
        getTotal in interface FetchResult<T>
        Returns: