Package one.microstream.afs.aws.dynamodb
Interface DynamoDbConnector
- All Superinterfaces:
AutoCloseable
,BlobStoreConnector
- All Known Implementing Classes:
DynamoDbConnector.Default
public interface DynamoDbConnector extends BlobStoreConnector
Connector for the Amazon DynamoDB database service.
First create a connection to the DynamoDB service.
DynamoDbClient client = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( DynamoDbConnector.Caching(client) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DynamoDbConnector.Default
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B>
-
Method Summary
Static Methods Modifier and Type Method Description static DynamoDbConnector
Caching(software.amazon.awssdk.services.dynamodb.DynamoDbClient client)
Pseudo-constructor method which creates a newDynamoDbConnector
with cache.static DynamoDbConnector
New(software.amazon.awssdk.services.dynamodb.DynamoDbClient client)
Pseudo-constructor method which creates a newDynamoDbConnector
.Methods inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
Method Details
-
New
Pseudo-constructor method which creates a newDynamoDbConnector
.- Parameters:
client
- connection to the DynamoDB service- Returns:
- a new
DynamoDbConnector
-
Caching
Pseudo-constructor method which creates a newDynamoDbConnector
with cache.- Parameters:
client
- connection to the DynamoDB service- Returns:
- a new
DynamoDbConnector
-