public final class ResultSetMetadata
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ResultSetMetadata() |
Modifier and Type | Method and Description |
---|---|
ResultSetMetadata |
clone() |
StructType |
getRowType()
Indicates the field names and types for the rows in the result set.
|
Transaction |
getTransaction()
If the read or SQL query began a transaction as a side-effect, the information about the new
transaction is yielded here.
|
StructType |
getUndeclaredParameters()
A SQL query can be parameterized.
|
ResultSetMetadata |
set(String fieldName,
Object value) |
ResultSetMetadata |
setRowType(StructType rowType)
Indicates the field names and types for the rows in the result set.
|
ResultSetMetadata |
setTransaction(Transaction transaction)
If the read or SQL query began a transaction as a side-effect, the information about the new
transaction is yielded here.
|
ResultSetMetadata |
setUndeclaredParameters(StructType undeclaredParameters)
A SQL query can be parameterized.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public StructType getRowType()
null
for nonepublic ResultSetMetadata setRowType(StructType rowType)
rowType
- rowType or null
for nonepublic Transaction getTransaction()
null
for nonepublic ResultSetMetadata setTransaction(Transaction transaction)
transaction
- transaction or null
for nonepublic StructType getUndeclaredParameters()
null
for nonepublic ResultSetMetadata setUndeclaredParameters(StructType undeclaredParameters)
undeclaredParameters
- undeclaredParameters or null
for nonepublic ResultSetMetadata set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ResultSetMetadata clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.