BigQuery API v2 (revision 79)



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

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.JobConfigurationTableCopy
All Implemented Interfaces:
Cloneable, Map<String,Object>

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: http://code.google.com/p/google-api-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
JobConfigurationTableCopy()
           
 
Method Summary
 JobConfigurationTableCopy clone()
           
 String getCreateDisposition()
          [Optional] Whether or not to create a new table, if none exists.
 TableReference getDestinationTable()
          [Required] The destination table
 TableReference getSourceTable()
          [Required] Source table to copy.
 String getWriteDisposition()
          [Optional] Whether or not to append or require the table to be empty.
 JobConfigurationTableCopy set(String fieldName, Object value)
           
 JobConfigurationTableCopy setCreateDisposition(String createDisposition)
          [Optional] Whether or not to create a new table, if none exists.
 JobConfigurationTableCopy setDestinationTable(TableReference destinationTable)
          [Required] The destination table
 JobConfigurationTableCopy setSourceTable(TableReference sourceTable)
          [Required] Source table to copy.
 JobConfigurationTableCopy setWriteDisposition(String writeDisposition)
          [Optional] Whether or not to append or require the table to be 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

JobConfigurationTableCopy

public JobConfigurationTableCopy()
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 JobConfigurationTableCopy 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

Returns:
value or null for none

setDestinationTable

public JobConfigurationTableCopy setDestinationTable(TableReference destinationTable)
[Required] The destination table

Parameters:
destinationTable - destinationTable or null for none

getSourceTable

public TableReference getSourceTable()
[Required] Source table to copy.

Returns:
value or null for none

setSourceTable

public JobConfigurationTableCopy setSourceTable(TableReference sourceTable)
[Required] Source table to copy.

Parameters:
sourceTable - sourceTable or null for none

getWriteDisposition

public String getWriteDisposition()
[Optional] Whether or not to append or require the table to be empty.

Returns:
value or null for none

setWriteDisposition

public JobConfigurationTableCopy setWriteDisposition(String writeDisposition)
[Optional] Whether or not to append or require the table to be empty.

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