BigQuery API v2 (revision 88)



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-http-java-client/wiki/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>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
JobConfigurationLink()
           
 
Method Summary
 JobConfigurationLink clone()
           
 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 set(String fieldName, Object value)
           
 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
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, 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.

Returns:
value or null for none

setCreateDisposition

public JobConfigurationLink setCreateDisposition(String createDisposition)
[Optional] Whether or not to create a new table, if none exists.

Parameters:
createDisposition - createDisposition or null for none

getDestinationTable

public TableReference getDestinationTable()
[Required] The destination table of the link job.

Returns:
value or null for none

setDestinationTable

public JobConfigurationLink setDestinationTable(TableReference destinationTable)
[Required] The destination table of the link job.

Parameters:
destinationTable - destinationTable or null for none

getSourceUri

public List<String> getSourceUri()
[Required] URI of source table to link.

Returns:
value or null for none

setSourceUri

public JobConfigurationLink setSourceUri(List<String> sourceUri)
[Required] URI of source table to link.

Parameters:
sourceUri - sourceUri or null for none

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.

Returns:
value or null for none

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.

Parameters:
writeDisposition - writeDisposition or null for none

set

public JobConfigurationLink set(String fieldName,
                                Object value)
Overrides:
set in class GenericJson

clone

public JobConfigurationLink clone()
Overrides:
clone in class GenericJson