public final class ResultSet
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 Spanner 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.Flags
Constructor and Description |
---|
ResultSet() |
Modifier and Type | Method and Description |
---|---|
ResultSet |
clone() |
ResultSetMetadata |
getMetadata()
Metadata about the result set, such as row type information.
|
java.util.List<java.util.List<java.lang.Object>> |
getRows()
Each element in `rows` is a row whose format is defined by metadata.row_type.
|
ResultSetStats |
getStats()
Query plan and execution statistics for the SQL statement that produced this result set.
|
ResultSet |
set(java.lang.String fieldName,
java.lang.Object value) |
ResultSet |
setMetadata(ResultSetMetadata metadata)
Metadata about the result set, such as row type information.
|
ResultSet |
setRows(java.util.List<java.util.List<java.lang.Object>> rows)
Each element in `rows` is a row whose format is defined by metadata.row_type.
|
ResultSet |
setStats(ResultSetStats stats)
Query plan and execution statistics for the SQL statement that produced this result set.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ResultSetMetadata getMetadata()
null
for nonepublic ResultSet setMetadata(ResultSetMetadata metadata)
metadata
- metadata or null
for nonepublic java.util.List<java.util.List<java.lang.Object>> getRows()
null
for nonepublic ResultSet setRows(java.util.List<java.util.List<java.lang.Object>> rows)
rows
- rows or null
for nonepublic ResultSetStats getStats()
null
for nonepublic ResultSet setStats(ResultSetStats stats)
stats
- stats or null
for nonepublic ResultSet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ResultSet clone()
clone
in class com.google.api.client.json.GenericJson