@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
QueryResult() |
| Modifier and Type | Method and Description |
|---|---|
QueryResult |
clone() |
boolean |
equals(Object obj) |
List<ColumnInfo> |
getColumnInfo()
The column data types of the returned result set.
|
String |
getNextToken()
A pagination token that can be used again on a
Query call to get the next set of results. |
String |
getQueryId()
A unique ID for the given query.
|
List<Row> |
getRows()
The result set rows returned by the query.
|
int |
hashCode() |
void |
setColumnInfo(Collection<ColumnInfo> columnInfo)
The column data types of the returned result set.
|
void |
setNextToken(String nextToken)
A pagination token that can be used again on a
Query call to get the next set of results. |
void |
setQueryId(String queryId)
A unique ID for the given query.
|
void |
setRows(Collection<Row> rows)
The result set rows returned by the query.
|
String |
toString()
Returns a string representation of this object.
|
QueryResult |
withColumnInfo(Collection<ColumnInfo> columnInfo)
The column data types of the returned result set.
|
QueryResult |
withColumnInfo(ColumnInfo... columnInfo)
The column data types of the returned result set.
|
QueryResult |
withNextToken(String nextToken)
A pagination token that can be used again on a
Query call to get the next set of results. |
QueryResult |
withQueryId(String queryId)
A unique ID for the given query.
|
QueryResult |
withRows(Collection<Row> rows)
The result set rows returned by the query.
|
QueryResult |
withRows(Row... rows)
The result set rows returned by the query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setQueryId(String queryId)
A unique ID for the given query.
queryId - A unique ID for the given query.public String getQueryId()
A unique ID for the given query.
public QueryResult withQueryId(String queryId)
A unique ID for the given query.
queryId - A unique ID for the given query.public void setNextToken(String nextToken)
A pagination token that can be used again on a Query call to get the next set of results.
nextToken - A pagination token that can be used again on a Query call to get the next set of results.public String getNextToken()
A pagination token that can be used again on a Query call to get the next set of results.
Query call to get the next set of results.public QueryResult withNextToken(String nextToken)
A pagination token that can be used again on a Query call to get the next set of results.
nextToken - A pagination token that can be used again on a Query call to get the next set of results.public List<Row> getRows()
The result set rows returned by the query.
public void setRows(Collection<Row> rows)
The result set rows returned by the query.
rows - The result set rows returned by the query.public QueryResult withRows(Row... rows)
The result set rows returned by the query.
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 result set rows returned by the query.public QueryResult withRows(Collection<Row> rows)
The result set rows returned by the query.
rows - The result set rows returned by the query.public List<ColumnInfo> getColumnInfo()
The column data types of the returned result set.
public void setColumnInfo(Collection<ColumnInfo> columnInfo)
The column data types of the returned result set.
columnInfo - The column data types of the returned result set.public QueryResult withColumnInfo(ColumnInfo... columnInfo)
The column data types of the returned result set.
NOTE: This method appends the values to the existing list (if any). Use
setColumnInfo(java.util.Collection) or withColumnInfo(java.util.Collection) if you want to
override the existing values.
columnInfo - The column data types of the returned result set.public QueryResult withColumnInfo(Collection<ColumnInfo> columnInfo)
The column data types of the returned result set.
columnInfo - The column data types of the returned result set.public String toString()
toString in class ObjectObject.toString()public QueryResult clone()