public final class QueryResult
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
QueryResult() |
| Modifier and Type | Method and Description |
|---|---|
QueryResult |
clone() |
List<Column> |
getColumns()
List of columns included in the result.
|
String |
getMessage()
Message related to the SQL execution result.
|
Boolean |
getPartialResult()
Set to true if the SQL execution's result is truncated due to size limits or an error
retrieving results.
|
List<Row> |
getRows()
Rows returned by the SQL statement.
|
Status |
getStatus()
If results were truncated due to an error, details of that error.
|
QueryResult |
set(String fieldName,
Object value) |
QueryResult |
setColumns(List<Column> columns)
List of columns included in the result.
|
QueryResult |
setMessage(String message)
Message related to the SQL execution result.
|
QueryResult |
setPartialResult(Boolean partialResult)
Set to true if the SQL execution's result is truncated due to size limits or an error
retrieving results.
|
QueryResult |
setRows(List<Row> rows)
Rows returned by the SQL statement.
|
QueryResult |
setStatus(Status status)
If results were truncated due to an error, details of that error.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<Column> getColumns()
null for nonepublic QueryResult setColumns(List<Column> columns)
columns - columns or null for nonepublic String getMessage()
null for nonepublic QueryResult setMessage(String message)
message - message or null for nonepublic Boolean getPartialResult()
null for nonepublic QueryResult setPartialResult(Boolean partialResult)
partialResult - partialResult or null for nonepublic List<Row> getRows()
null for nonepublic QueryResult setRows(List<Row> rows)
rows - rows or null for nonepublic Status getStatus()
null for nonepublic QueryResult setStatus(Status status)
status - status or null for nonepublic QueryResult set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic QueryResult clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.