Interface AsyncKeyValueService

    • Method Detail

      • getAsync

        @Idempotent
        com.google.common.util.concurrent.ListenableFuture<Map<Cell,​Value>> getAsync​(TableReference tableRef,
                                                                                           Map<Cell,​Long> timestampByCell)
        Asynchronously gets values from the key-value store when the store allows it. In other cases it just wraps the result in an immediate future.
        Parameters:
        tableRef - the name of the table to retrieve values from.
        timestampByCell - specifies, for each row, the maximum timestamp (exclusive) at which to retrieve that row's value.
        Returns:
        listenable future containing map of retrieved values. Values which do not exist (either because they were deleted or never created in the first place) are simply not returned.