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

io.dataspray.singletable.ShardAndExclusiveStartKey Maven / Gradle / Ivy

Go to download

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;

import lombok.NonNull;
import lombok.Value;
import software.amazon.awssdk.services.dynamodb.model.AttributeValue;

import java.util.Map;
import java.util.Optional;

@Value
public class ShardAndExclusiveStartKey {
    @NonNull
    int shard;
    @NonNull
    Optional> exclusiveStartKey;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy