BigQuery API v2 (revision 81)



com.google.api.services.bigquery.model
Class JobConfigurationLink

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.bigquery.model.JobConfigurationLink
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class JobConfigurationLink
extends GenericJson

Model definition for JobConfigurationLink.

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: http://code.google.com/p/google-api-java-client/wiki/Json

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

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>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
JobConfigurationLink()
           
 
Method Summary
 String getCreateDisposition()
          [Optional] Whether or not to create a new table, if none exists.
 TableReference getDestinationTable()
          [Required] The destination table of the link job.
 List<String> getSourceUri()
          [Required] URI of source table to link.
 String getWriteDisposition()
          [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY).
 JobConfigurationLink setCreateDisposition(String createDisposition)
          [Optional] Whether or not to create a new table, if none exists.
 JobConfigurationLink setDestinationTable(TableReference destinationTable)
          [Required] The destination table of the link job.
 JobConfigurationLink setSourceUri(List<String> sourceUri)
          [Required] URI of source table to link.
 JobConfigurationLink setWriteDisposition(String writeDisposition)
          [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY).
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobConfigurationLink

public JobConfigurationLink()
Method Detail

getCreateDisposition

public String getCreateDisposition()
[Optional] Whether or not to create a new table, if none exists. The value returned may be null.


setCreateDisposition

public JobConfigurationLink setCreateDisposition(String createDisposition)
[Optional] Whether or not to create a new table, if none exists. The value set may be null.


getDestinationTable

public TableReference getDestinationTable()
[Required] The destination table of the link job. The value returned may be null.


setDestinationTable

public JobConfigurationLink setDestinationTable(TableReference destinationTable)
[Required] The destination table of the link job. The value set may be null.


getSourceUri

public List<String> getSourceUri()
[Required] URI of source table to link. The value returned may be null.


setSourceUri

public JobConfigurationLink setSourceUri(List<String> sourceUri)
[Required] URI of source table to link. The value set may be null.


getWriteDisposition

public String getWriteDisposition()
[Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_APPEND. The value returned may be null.


setWriteDisposition

public JobConfigurationLink setWriteDisposition(String writeDisposition)
[Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_APPEND. The value set may be null.