io.dataspray.singletable.builder.DeleteBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of single-table Show documentation
Show all versions of single-table Show documentation
DynamoDB best practices encourages a single-table design that allows multiple record types to reside within the
same table. The goal of this library is to improve the experience of Java developers and make it safer to define
non-conflicting schema of each record, serializing and deserializing automatically and working with secondary
indexes.
The newest version!
package io.dataspray.singletable.builder;
import io.dataspray.singletable.ExpressionBuilder;
import io.dataspray.singletable.Schema;
import software.amazon.awssdk.services.dynamodb.DynamoDbClient;
import software.amazon.awssdk.services.dynamodb.model.AttributeValue;
import software.amazon.awssdk.services.dynamodb.model.DeleteItemRequest;
import software.amazon.awssdk.services.dynamodb.model.DeleteItemResponse;
import software.amazon.awssdk.services.dynamodb.model.ReturnValue;
import java.util.Map;
import java.util.Optional;
import static com.google.common.base.Preconditions.checkState;
public class DeleteBuilder extends ExpressionBuilder, DeleteItemRequest.Builder> implements ConditionExpressionBuilder> {
public DeleteBuilder(Schema schema) {
super(schema);
}
protected DeleteBuilder getParent() {
return this;
}
private Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy