Interface PartialResultExecutor

  • All Known Implementing Classes:
    GoogleDataProtocolAPI.DataProtocolQueryStrategy

    public interface PartialResultExecutor
    Executable query that will retrieve just specified portion of results (rows). For example to get rows starting at row 10 and retrieves 5 rows (included) use this interface: partialResultExecutor.getResultBatch(10,5)
    Author:
    fnguyen
    • Method Detail

      • getResultsBatch

        List<SheetRow> getResultsBatch​(int startIndex,
                                       int amount)
        Returns part of the result.
        Returns:
        null or empty list if no more results are in the batch. Maximum amount of sheet rows in the result is amount