public static interface ExecuteStatementResponse.Builder extends RdsDataResponse.Builder, SdkPojo, CopyableBuilder<ExecuteStatementResponse.Builder,ExecuteStatementResponse>
| Modifier and Type | Method and Description |
|---|---|
ExecuteStatementResponse.Builder |
columnMetadata(Collection<ColumnMetadata> columnMetadata)
Metadata for the columns included in the results.
|
ExecuteStatementResponse.Builder |
columnMetadata(ColumnMetadata... columnMetadata)
Metadata for the columns included in the results.
|
ExecuteStatementResponse.Builder |
columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)
Metadata for the columns included in the results.
|
ExecuteStatementResponse.Builder |
generatedFields(Collection<Field> generatedFields)
Values for fields generated during the request.
|
ExecuteStatementResponse.Builder |
generatedFields(Consumer<Field.Builder>... generatedFields)
Values for fields generated during the request.
|
ExecuteStatementResponse.Builder |
generatedFields(Field... generatedFields)
Values for fields generated during the request.
|
ExecuteStatementResponse.Builder |
numberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by the request.
|
ExecuteStatementResponse.Builder |
records(Collection<? extends Collection<Field>> records)
The records returned by the SQL statement.
|
ExecuteStatementResponse.Builder |
records(Collection<Field>... records)
The records returned by the SQL statement.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildExecuteStatementResponse.Builder columnMetadata(Collection<ColumnMetadata> columnMetadata)
Metadata for the columns included in the results.
columnMetadata - Metadata for the columns included in the results.ExecuteStatementResponse.Builder columnMetadata(ColumnMetadata... columnMetadata)
Metadata for the columns included in the results.
columnMetadata - Metadata for the columns included in the results.ExecuteStatementResponse.Builder columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)
Metadata for the columns included in the results.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #columnMetadata(List) .columnMetadata - a consumer that will call methods on List.Builder #columnMetadata(List) ExecuteStatementResponse.Builder generatedFields(Collection<Field> generatedFields)
Values for fields generated during the request.
<note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note>
generatedFields - Values for fields generated during the request.
<note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note> ExecuteStatementResponse.Builder generatedFields(Field... generatedFields)
Values for fields generated during the request.
<note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note>
generatedFields - Values for fields generated during the request.
<note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note> ExecuteStatementResponse.Builder generatedFields(Consumer<Field.Builder>... generatedFields)
Values for fields generated during the request.
<note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note>
This is a convenience that creates an instance of the List.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #generatedFields(List) .generatedFields - a consumer that will call methods on List.Builder #generatedFields(List) ExecuteStatementResponse.Builder numberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by the request.
numberOfRecordsUpdated - The number of records updated by the request.ExecuteStatementResponse.Builder records(Collection<? extends Collection<Field>> records)
The records returned by the SQL statement.
records - The records returned by the SQL statement.ExecuteStatementResponse.Builder records(Collection<Field>... records)
The records returned by the SQL statement.
records - The records returned by the SQL statement.Copyright © 2021. All rights reserved.