Class BatchGetResultPage

    • Method Detail

      • resultsForTable

        public <T> List<T> resultsForTable​(MappedTableResource<T> mappedTable)
        Retrieve all items on this result page belonging to the supplied table. Call this method once for each table present in the batch request.
        Type Parameters:
        T - the type of the table items
        Parameters:
        mappedTable - the table to retrieve items for
        Returns:
        a list of items
      • unprocessedKeysForTable

        public List<Key> unprocessedKeysForTable​(MappedTableResource<?> mappedTable)
        Returns a list of keys associated with a given table that were not processed during the operation, typically because the total size of the request is too large or exceeds the provisioned throughput of the table. If an item was attempted to be retrieved but not found in the table, it will not appear in this list or the results list.
        Parameters:
        mappedTable - the table to retrieve the unprocessed keys for
        Returns:
        a list of unprocessed keys