Class DynamoDBBucketManager
java.lang.Object
org.eclipse.jnosql.databases.dynamodb.communication.DynamoDBBucketManager
- All Implemented Interfaces:
AutoCloseable,org.eclipse.jnosql.communication.keyvalue.BucketManager
public class DynamoDBBucketManager
extends Object
implements org.eclipse.jnosql.communication.keyvalue.BucketManager
-
Constructor Summary
ConstructorsConstructorDescriptionDynamoDBBucketManager(software.amazon.awssdk.services.dynamodb.DynamoDbClient client, String tableName) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<K> void<K> voiddelete(K key) <K> Iterable<org.eclipse.jnosql.communication.Value><K> Optional<org.eclipse.jnosql.communication.Value>get(K key) name()voidvoid<K,V> void put(K key, V value) voidput(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity) void
-
Constructor Details
-
DynamoDBBucketManager
public DynamoDBBucketManager(software.amazon.awssdk.services.dynamodb.DynamoDbClient client, String tableName)
-
-
Method Details
-
name
- Specified by:
namein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager
-
put
- Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
put
public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity) throws NullPointerException - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
put
public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity, Duration ttl) throws NullPointerException, UnsupportedOperationException - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerExceptionUnsupportedOperationException
-
put
public void put(Iterable<org.eclipse.jnosql.communication.keyvalue.KeyValueEntity> entities) throws NullPointerException - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
put
public void put(Iterable<org.eclipse.jnosql.communication.keyvalue.KeyValueEntity> entities, Duration ttl) - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager
-
get
- Specified by:
getin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
get
public <K> Iterable<org.eclipse.jnosql.communication.Value> get(Iterable<K> keys) throws NullPointerException - Specified by:
getin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
delete
- Specified by:
deletein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
delete
- Specified by:
deletein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager
-