target.apidocs.com.google.api.services.bigquery.model.ScriptOptions.html Maven / Gradle / Ivy
ScriptOptions (BigQuery API v2-rev20240905-2.0.0)
com.google.api.services.bigquery.model
Class ScriptOptions
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.ScriptOptions
-
public final class ScriptOptions
extends com.google.api.client.json.GenericJson
Options related to script execution.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ScriptOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getKeyResultStatement
public String getKeyResultStatement()
Determines which statement in the script represents the "key result", used to populate the
schema and query results of the script job. Default is LAST.
- Returns:
- value or
null
for none
-
setKeyResultStatement
public 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. Default is LAST.
- Parameters:
keyResultStatement
- keyResultStatement or null
for none
-
getStatementByteBudget
public Long getStatementByteBudget()
Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
- Returns:
- value or
null
for none
-
setStatementByteBudget
public ScriptOptions setStatementByteBudget(Long statementByteBudget)
Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
- Parameters:
statementByteBudget
- statementByteBudget or null
for none
-
getStatementTimeoutMs
public Long getStatementTimeoutMs()
Timeout period for each statement in a script.
- Returns:
- value or
null
for none
-
setStatementTimeoutMs
public ScriptOptions setStatementTimeoutMs(Long statementTimeoutMs)
Timeout period for each statement in a script.
- Parameters:
statementTimeoutMs
- statementTimeoutMs or null
for none
-
set
public ScriptOptions set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ScriptOptions clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy