@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultFrame extends Object implements Serializable, Cloneable, StructuredPojo
The result set returned by a SQL statement.
This data structure is only used with the deprecated ExecuteSql operation. Use the
BatchExecuteStatement or ExecuteStatement operation instead.
| Constructor and Description |
|---|
ResultFrame() |
| Modifier and Type | Method and Description |
|---|---|
ResultFrame |
clone() |
boolean |
equals(Object obj) |
List<Record> |
getRecords()
The records in the result set.
|
ResultSetMetadata |
getResultSetMetadata()
The result-set metadata in the result set.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRecords(Collection<Record> records)
The records in the result set.
|
void |
setResultSetMetadata(ResultSetMetadata resultSetMetadata)
The result-set metadata in the result set.
|
String |
toString()
Returns a string representation of this object.
|
ResultFrame |
withRecords(Collection<Record> records)
The records in the result set.
|
ResultFrame |
withRecords(Record... records)
The records in the result set.
|
ResultFrame |
withResultSetMetadata(ResultSetMetadata resultSetMetadata)
The result-set metadata in the result set.
|
public void setResultSetMetadata(ResultSetMetadata resultSetMetadata)
The result-set metadata in the result set.
resultSetMetadata - The result-set metadata in the result set.public ResultSetMetadata getResultSetMetadata()
The result-set metadata in the result set.
public ResultFrame withResultSetMetadata(ResultSetMetadata resultSetMetadata)
The result-set metadata in the result set.
resultSetMetadata - The result-set metadata in the result set.public List<Record> getRecords()
The records in the result set.
public void setRecords(Collection<Record> records)
The records in the result set.
records - The records in the result set.public ResultFrame withRecords(Record... records)
The records in the result set.
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 in the result set.public ResultFrame withRecords(Collection<Record> records)
The records in the result set.
records - The records in the result set.public String toString()
toString in class ObjectObject.toString()public ResultFrame clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.