target.apidocs.com.google.api.services.bigquery.model.JobConfigurationTableCopy.html Maven / Gradle / Ivy
JobConfigurationTableCopy (BigQuery API v2-rev20210219-1.31.0)
com.google.api.services.bigquery.model
Class JobConfigurationTableCopy
- 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.JobConfigurationTableCopy
-
public final class JobConfigurationTableCopy
extends GenericJson
Model definition for JobConfigurationTableCopy.
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
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
JobConfigurationTableCopy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
JobConfigurationTableCopy
clone()
String
getCreateDisposition()
[Optional] Specifies whether the job is allowed to create new tables.
EncryptionConfiguration
getDestinationEncryptionConfiguration()
Custom encryption configuration (e.g., Cloud KMS keys).
Object
getDestinationExpirationTime()
[Optional] The time when the destination table expires.
TableReference
getDestinationTable()
[Required] The destination table
String
getOperationType()
[Optional] Supported operation types in table copy job.
TableReference
getSourceTable()
[Pick one] Source table to copy.
List<TableReference>
getSourceTables()
[Pick one] Source tables to copy.
String
getWriteDisposition()
[Optional] Specifies the action that occurs if the destination table already exists.
JobConfigurationTableCopy
set(String fieldName,
Object value)
JobConfigurationTableCopy
setCreateDisposition(String createDisposition)
[Optional] Specifies whether the job is allowed to create new tables.
JobConfigurationTableCopy
setDestinationEncryptionConfiguration(EncryptionConfiguration destinationEncryptionConfiguration)
Custom encryption configuration (e.g., Cloud KMS keys).
JobConfigurationTableCopy
setDestinationExpirationTime(Object destinationExpirationTime)
[Optional] The time when the destination table expires.
JobConfigurationTableCopy
setDestinationTable(TableReference destinationTable)
[Required] The destination table
JobConfigurationTableCopy
setOperationType(String operationType)
[Optional] Supported operation types in table copy job.
JobConfigurationTableCopy
setSourceTable(TableReference sourceTable)
[Pick one] Source table to copy.
JobConfigurationTableCopy
setSourceTables(List<TableReference> sourceTables)
[Pick one] Source tables to copy.
JobConfigurationTableCopy
setWriteDisposition(String writeDisposition)
[Optional] Specifies the action that occurs if the destination table already exists.
-
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
-
getCreateDisposition
public String getCreateDisposition()
[Optional] Specifies whether the job is allowed to create new tables. The following values are
supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in
the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions
occur as one atomic update upon job completion.
- Returns:
- value or
null
for none
-
setCreateDisposition
public JobConfigurationTableCopy setCreateDisposition(String createDisposition)
[Optional] Specifies whether the job is allowed to create new tables. The following values are
supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in
the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions
occur as one atomic update upon job completion.
- Parameters:
createDisposition
- createDisposition or null
for none
-
getDestinationEncryptionConfiguration
public EncryptionConfiguration getDestinationEncryptionConfiguration()
Custom encryption configuration (e.g., Cloud KMS keys).
- Returns:
- value or
null
for none
-
setDestinationEncryptionConfiguration
public JobConfigurationTableCopy setDestinationEncryptionConfiguration(EncryptionConfiguration destinationEncryptionConfiguration)
Custom encryption configuration (e.g., Cloud KMS keys).
- Parameters:
destinationEncryptionConfiguration
- destinationEncryptionConfiguration or null
for none
-
getDestinationExpirationTime
public Object getDestinationExpirationTime()
[Optional] The time when the destination table expires. Expired tables will be deleted and
their storage reclaimed.
- Returns:
- value or
null
for none
-
setDestinationExpirationTime
public JobConfigurationTableCopy setDestinationExpirationTime(Object destinationExpirationTime)
[Optional] The time when the destination table expires. Expired tables will be deleted and
their storage reclaimed.
- Parameters:
destinationExpirationTime
- destinationExpirationTime or null
for none
-
getDestinationTable
public TableReference getDestinationTable()
[Required] The destination table
- Returns:
- value or
null
for none
-
setDestinationTable
public JobConfigurationTableCopy setDestinationTable(TableReference destinationTable)
[Required] The destination table
- Parameters:
destinationTable
- destinationTable or null
for none
-
getOperationType
public String getOperationType()
[Optional] Supported operation types in table copy job.
- Returns:
- value or
null
for none
-
setOperationType
public JobConfigurationTableCopy setOperationType(String operationType)
[Optional] Supported operation types in table copy job.
- Parameters:
operationType
- operationType or null
for none
-
getSourceTable
public TableReference getSourceTable()
[Pick one] Source table to copy.
- Returns:
- value or
null
for none
-
setSourceTable
public JobConfigurationTableCopy setSourceTable(TableReference sourceTable)
[Pick one] Source table to copy.
- Parameters:
sourceTable
- sourceTable or null
for none
-
getSourceTables
public List<TableReference> getSourceTables()
[Pick one] Source tables to copy.
- Returns:
- value or
null
for none
-
setSourceTables
public JobConfigurationTableCopy setSourceTables(List<TableReference> sourceTables)
[Pick one] Source tables to copy.
- Parameters:
sourceTables
- sourceTables or null
for none
-
getWriteDisposition
public String getWriteDisposition()
[Optional] Specifies the action that occurs if the destination table already exists. The
following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery
overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data
to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error
is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only
occurs if BigQuery is able to complete the job successfully. Creation, truncation and append
actions occur as one atomic update upon job completion.
- Returns:
- value or
null
for none
-
setWriteDisposition
public JobConfigurationTableCopy setWriteDisposition(String writeDisposition)
[Optional] Specifies the action that occurs if the destination table already exists. The
following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery
overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data
to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error
is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only
occurs if BigQuery is able to complete the job successfully. Creation, truncation and append
actions occur as one atomic update upon job completion.
- Parameters:
writeDisposition
- writeDisposition or null
for none
-
set
public JobConfigurationTableCopy set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public JobConfigurationTableCopy clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy