Interface DynamoDBDatabaseManager

All Superinterfaces:
AutoCloseable, org.eclipse.jnosql.communication.semistructured.DatabaseManager
All Known Implementing Classes:
DefaultDynamoDBDatabaseManager

public interface DynamoDBDatabaseManager extends org.eclipse.jnosql.communication.semistructured.DatabaseManager
A document manager interface for DynamoDB database operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    software.amazon.awssdk.services.dynamodb.DynamoDbClient
     
    Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity>
    partiQL(String query, Object... params)
    DynamoDB supports a limited subset of PartiQL.

    Methods inherited from interface org.eclipse.jnosql.communication.semistructured.DatabaseManager

    close, count, count, delete, deleteAndCount, exists, insert, insert, insert, insert, name, prepare, prepare, query, query, select, selectCursor, singleResult, update, update, update
  • Method Details

    • partiQL

      Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity> partiQL(String query, Object... params)
      DynamoDB supports a limited subset of PartiQL. This method executes a PartiQL query with parameters and returns a stream of CommunicationEntity objects.

      Example query: SELECT * FROM users WHERE status = ?

      Parameters:
      query - the PartiQL query
      Returns:
      a Stream of CommunicationEntity representing the query result
      Throws:
      NullPointerException - when the query is null
    • dynamoDbClient

      software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamoDbClient()
      Returns:
      a DynamoDbClient instance for custom utilization