public interface Executable
Modifier and Type | Method and Description |
---|---|
Result |
execute(String statement)
Execute the statement against QLDB and retrieve the result.
|
Result |
execute(String statement,
com.amazon.ion.IonValue... parameters)
Execute the statement using the specified parameters against QLDB and retrieve the result.
|
Result |
execute(String statement,
List<com.amazon.ion.IonValue> parameters)
Execute the statement using the specified parameters against QLDB and retrieve the result.
|
Result execute(String statement)
statement
- The PartiQL statement to be executed against QLDB.software.amazon.awssdk.core.exception.SdkException
- if there is an error executing against QLDB.Result execute(String statement, List<com.amazon.ion.IonValue> parameters)
statement
- The PartiQL statement to be executed against QLDB.parameters
- The parameters to be used with the PartiQL statement, for each ? placeholder in the statement.software.amazon.awssdk.core.exception.SdkException
- if there is an error executing against QLDB.Result execute(String statement, com.amazon.ion.IonValue... parameters)
statement
- The PartiQL statement to be executed against QLDB.parameters
- The parameters to be used with the PartiQL statement, for each ? placeholder in the statement.software.amazon.awssdk.core.exception.SdkException
- if there is an error executing against QLDB.