@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqlStatementResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of a SQL statement.
This data structure is only used with the deprecated ExecuteSql operation. Use the
BatchExecuteStatement or ExecuteStatement operation instead.
| Constructor and Description |
|---|
SqlStatementResult() |
| Modifier and Type | Method and Description |
|---|---|
SqlStatementResult |
clone() |
boolean |
equals(Object obj) |
Long |
getNumberOfRecordsUpdated()
The number of records updated by a SQL statement.
|
ResultFrame |
getResultFrame()
The result set of the SQL statement.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by a SQL statement.
|
void |
setResultFrame(ResultFrame resultFrame)
The result set of the SQL statement.
|
String |
toString()
Returns a string representation of this object.
|
SqlStatementResult |
withNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by a SQL statement.
|
SqlStatementResult |
withResultFrame(ResultFrame resultFrame)
The result set of the SQL statement.
|
public void setResultFrame(ResultFrame resultFrame)
The result set of the SQL statement.
resultFrame - The result set of the SQL statement.public ResultFrame getResultFrame()
The result set of the SQL statement.
public SqlStatementResult withResultFrame(ResultFrame resultFrame)
The result set of the SQL statement.
resultFrame - The result set of the SQL statement.public void setNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by a SQL statement.
numberOfRecordsUpdated - The number of records updated by a SQL statement.public Long getNumberOfRecordsUpdated()
The number of records updated by a SQL statement.
public SqlStatementResult withNumberOfRecordsUpdated(Long numberOfRecordsUpdated)
The number of records updated by a SQL statement.
numberOfRecordsUpdated - The number of records updated by a SQL statement.public String toString()
toString in class ObjectObject.toString()public SqlStatementResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.