@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteStatementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response elements represent the output of a request to run a SQL statement against a database.
Constructor and Description |
---|
ExecuteStatementResult() |
Modifier and Type | Method and Description |
---|---|
ExecuteStatementResult |
clone() |
boolean |
equals(Object obj) |
List<ColumnMetadata> |
getColumnMetadata()
Metadata for the columns included in the results.
|
List<Field> |
getGeneratedFields()
Values for fields generated during the request.
|
Long |
getNumberOfRecordsUpdated()
The number of records updated by the request.
|
List<List<Field>> |
getRecords()
The records returned by the SQL statement.
|
int |
hashCode() |
void |
setColumnMetadata(Collection<ColumnMetadata> columnMetadata)
Metadata for the columns included in the results.
|
void |
setGeneratedFields(Collection<Field> generatedFields)
Values for fields generated during the request.
|
void |
setNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by the request.
|
void |
setRecords(Collection<List<Field>> records)
The records returned by the SQL statement.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteStatementResult |
withColumnMetadata(Collection<ColumnMetadata> columnMetadata)
Metadata for the columns included in the results.
|
ExecuteStatementResult |
withColumnMetadata(ColumnMetadata... columnMetadata)
Metadata for the columns included in the results.
|
ExecuteStatementResult |
withGeneratedFields(Collection<Field> generatedFields)
Values for fields generated during the request.
|
ExecuteStatementResult |
withGeneratedFields(Field... generatedFields)
Values for fields generated during the request.
|
ExecuteStatementResult |
withNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by the request.
|
ExecuteStatementResult |
withRecords(Collection<List<Field>> records)
The records returned by the SQL statement.
|
ExecuteStatementResult |
withRecords(List<Field>... records)
The records returned by the SQL statement.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ColumnMetadata> getColumnMetadata()
Metadata for the columns included in the results.
public void setColumnMetadata(Collection<ColumnMetadata> columnMetadata)
Metadata for the columns included in the results.
columnMetadata
- Metadata for the columns included in the results.public ExecuteStatementResult withColumnMetadata(ColumnMetadata... columnMetadata)
Metadata for the columns included in the results.
NOTE: This method appends the values to the existing list (if any). Use
setColumnMetadata(java.util.Collection)
or withColumnMetadata(java.util.Collection)
if you want
to override the existing values.
columnMetadata
- Metadata for the columns included in the results.public ExecuteStatementResult withColumnMetadata(Collection<ColumnMetadata> columnMetadata)
Metadata for the columns included in the results.
columnMetadata
- Metadata for the columns included in the results.public List<Field> getGeneratedFields()
Values for fields generated during the request.
public void setGeneratedFields(Collection<Field> generatedFields)
Values for fields generated during the request.
generatedFields
- Values for fields generated during the request.public ExecuteStatementResult withGeneratedFields(Field... generatedFields)
Values for fields generated during the request.
NOTE: This method appends the values to the existing list (if any). Use
setGeneratedFields(java.util.Collection)
or withGeneratedFields(java.util.Collection)
if you
want to override the existing values.
generatedFields
- Values for fields generated during the request.public ExecuteStatementResult withGeneratedFields(Collection<Field> generatedFields)
Values for fields generated during the request.
generatedFields
- Values for fields generated during the request.public void setNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by the request.
numberOfRecordsUpdated
- The number of records updated by the request.public Long getNumberOfRecordsUpdated()
The number of records updated by the request.
public ExecuteStatementResult withNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by the request.
numberOfRecordsUpdated
- The number of records updated by the request.public List<List<Field>> getRecords()
The records returned by the SQL statement.
public void setRecords(Collection<List<Field>> records)
The records returned by the SQL statement.
records
- The records returned by the SQL statement.public ExecuteStatementResult withRecords(List<Field>... records)
The records returned by the SQL statement.
NOTE: This method appends the values to the existing list (if any). Use
setRecords(java.util.Collection)
or withRecords(java.util.Collection)
if you want to override
the existing values.
records
- The records returned by the SQL statement.public ExecuteStatementResult withRecords(Collection<List<Field>> records)
The records returned by the SQL statement.
records
- The records returned by the SQL statement.public String toString()
toString
in class Object
Object.toString()
public ExecuteStatementResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.