All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scalar.db.storage.dynamo.request.PaginatedRequest Maven / Gradle / Ivy

Go to download

A universal transaction manager that achieves database-agnostic transactions and distributed transactions that span multiple databases

There is a newer version: 3.14.0
Show newest version
package com.scalar.db.storage.dynamo.request;

import java.util.Map;
import software.amazon.awssdk.services.dynamodb.model.AttributeValue;

/** This interface abstracts DynamoDB requests that are paginated */
public interface PaginatedRequest {
  /**
   * Execute the request
   *
   * @return the request response
   */
  PaginatedRequestResponse execute();

  /**
   * Execute the request that will be evaluated starting from the given start key
   *
   * @param exclusiveStartKey The primary key of the first item that this operation will evaluate.
   * @return the request response
   */
  PaginatedRequestResponse execute(Map exclusiveStartKey);

  /**
   * Returns the request limit
   *
   * @return the request limit
   */
  Integer limit();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy