public final class ScriptOptions
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 BigQuery 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 |
---|
ScriptOptions() |
Modifier and Type | Method and Description |
---|---|
ScriptOptions |
clone() |
String |
getKeyResultStatement()
Determines which statement in the script represents the "key result", used to populate the
schema and query results of the script job.
|
Long |
getStatementByteBudget()
Limit on the number of bytes billed per statement.
|
Long |
getStatementTimeoutMs()
Timeout period for each statement in a script.
|
ScriptOptions |
set(String fieldName,
Object value) |
ScriptOptions |
setKeyResultStatement(String keyResultStatement)
Determines which statement in the script represents the "key result", used to populate the
schema and query results of the script job.
|
ScriptOptions |
setStatementByteBudget(Long statementByteBudget)
Limit on the number of bytes billed per statement.
|
ScriptOptions |
setStatementTimeoutMs(Long statementTimeoutMs)
Timeout period for each statement in a script.
|
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 String getKeyResultStatement()
null
for nonepublic ScriptOptions setKeyResultStatement(String keyResultStatement)
keyResultStatement
- keyResultStatement or null
for nonepublic Long getStatementByteBudget()
null
for nonepublic ScriptOptions setStatementByteBudget(Long statementByteBudget)
statementByteBudget
- statementByteBudget or null
for nonepublic Long getStatementTimeoutMs()
null
for nonepublic ScriptOptions setStatementTimeoutMs(Long statementTimeoutMs)
statementTimeoutMs
- statementTimeoutMs or null
for nonepublic ScriptOptions set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ScriptOptions clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.