JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
com.amazonaws.services.rdsdata

Class AbstractAWSRDSData

  • All Implemented Interfaces:
    AWSRDSData
    Direct Known Subclasses:
    AbstractAWSRDSDataAsync


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class AbstractAWSRDSData
    extends Object
    implements AWSRDSData 
    Abstract implementation of AWSRDSData. Convenient method forms pass through to the corresponding overload that takes a request object, which throws an UnsupportedOperationException.
    • Method Detail

      • batchExecuteStatement

        public BatchExecuteStatementResult batchExecuteStatement(BatchExecuteStatementRequest request)
        Description copied from interface: AWSRDSData

        Runs a batch SQL statement over an array of data.

        You can run bulk update and insert operations for multiple records using a DML statement with different parameter sets. Bulk operations can provide a significant performance improvement over individual insert and update operations.

        If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically.

        There isn't a fixed upper limit on the number of parameter sets. However, the maximum size of the HTTP request submitted through the Data API is 4 MiB. If the request exceeds this limit, the Data API returns an error and doesn't process the request. This 4-MiB limit includes the size of the HTTP headers and the JSON notation in the request. Thus, the number of parameter sets that you can include depends on a combination of factors, such as the size of the SQL statement and the size of each parameter set.

        The response size limit is 1 MiB. If the call returns more than 1 MiB of response data, the call is terminated.

        Specified by:
        batchExecuteStatement in interface AWSRDSData
        Parameters:
        request - The request parameters represent the input of a SQL statement over an array of data.
        Returns:
        Result of the BatchExecuteStatement operation returned by the service.
        See Also:
        AWS API Documentation
      • beginTransaction

        public BeginTransactionResult beginTransaction(BeginTransactionRequest request)
        Description copied from interface: AWSRDSData

        Starts a SQL transaction.

        A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24 hours.

        A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's committed, it's rolled back automatically.

        DDL statements inside a transaction cause an implicit commit. We recommend that you run each DDL statement in a separate ExecuteStatement call with continueAfterTimeout enabled.

        Specified by:
        beginTransaction in interface AWSRDSData
        Parameters:
        request - The request parameters represent the input of a request to start a SQL transaction.
        Returns:
        Result of the BeginTransaction operation returned by the service.
        See Also:
        AWS API Documentation
      • executeSql

        @Deprecated
        public ExecuteSqlResult executeSql(ExecuteSqlRequest request)
        Deprecated.
        Description copied from interface: AWSRDSData

        Runs one or more SQL statements.

        This operation isn't supported for Aurora PostgreSQL Serverless v2 and provisioned DB clusters, and for Aurora Serverless v1 DB clusters, the operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.

        Specified by:
        executeSql in interface AWSRDSData
        Parameters:
        request - The request parameters represent the input of a request to run one or more SQL statements.
        Returns:
        Result of the ExecuteSql operation returned by the service.
        See Also:
        AWS API Documentation
      • executeStatement

        public ExecuteStatementResult executeStatement(ExecuteStatementRequest request)
        Description copied from interface: AWSRDSData

        Runs a SQL statement against a database.

        If a call isn't part of a transaction because it doesn't include the transactionID parameter, changes that result from the call are committed automatically.

        If the binary response data from the database is more than 1 MB, the call is terminated.

        Specified by:
        executeStatement in interface AWSRDSData
        Parameters:
        request - The request parameters represent the input of a request to run a SQL statement against a database.
        Returns:
        Result of the ExecuteStatement operation returned by the service.
        See Also:
        AWS API Documentation
      • shutdown

        public void shutdown()
        Description copied from interface: AWSRDSData
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
        Specified by:
        shutdown in interface AWSRDSData
      • getCachedResponseMetadata

        public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
        Description copied from interface: AWSRDSData
        Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.

        Specified by:
        getCachedResponseMetadata in interface AWSRDSData
        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /