@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultSet extends Object implements Serializable, Cloneable, StructuredPojo
The metadata and rows that comprise a query result set. The metadata describes the column structure and data types.
Constructor and Description |
---|
ResultSet() |
Modifier and Type | Method and Description |
---|---|
ResultSet |
clone() |
boolean |
equals(Object obj) |
ResultSetMetadata |
getResultSetMetadata()
The metadata that describes the column structure and data types of a table of query results.
|
List<Row> |
getRows()
The rows in the table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResultSetMetadata(ResultSetMetadata resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
|
void |
setRows(Collection<Row> rows)
The rows in the table.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResultSet |
withResultSetMetadata(ResultSetMetadata resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
|
ResultSet |
withRows(Collection<Row> rows)
The rows in the table.
|
ResultSet |
withRows(Row... rows)
The rows in the table.
|
public void setRows(Collection<Row> rows)
The rows in the table.
rows
- The rows in the table.public ResultSet withRows(Row... rows)
The rows in the table.
NOTE: This method appends the values to the existing list (if any). Use
setRows(java.util.Collection)
or withRows(java.util.Collection)
if you want to override the
existing values.
rows
- The rows in the table.public ResultSet withRows(Collection<Row> rows)
The rows in the table.
rows
- The rows in the table.public void setResultSetMetadata(ResultSetMetadata resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
resultSetMetadata
- The metadata that describes the column structure and data types of a table of query results.public ResultSetMetadata getResultSetMetadata()
The metadata that describes the column structure and data types of a table of query results.
public ResultSet withResultSetMetadata(ResultSetMetadata resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
resultSetMetadata
- The metadata that describes the column structure and data types of a table of query results.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.