public final class JobConfigurationExtract extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobConfigurationExtract() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationExtract |
clone() |
String |
getDestinationFormat()
[Experimental] Optional and defaults to CSV.
|
String |
getDestinationUri()
[Required] The fully-qualified Google Cloud Storage URI where the extracted table should be
written.
|
String |
getFieldDelimiter()
[Optional] Delimiter to use between fields in the exported data.
|
Boolean |
getPrintHeader()
[Optional] Whether to print out a heder row in the results.
|
TableReference |
getSourceTable()
[Required] A reference to the table being exported.
|
JobConfigurationExtract |
set(String fieldName,
Object value) |
JobConfigurationExtract |
setDestinationFormat(String destinationFormat)
[Experimental] Optional and defaults to CSV.
|
JobConfigurationExtract |
setDestinationUri(String destinationUri)
[Required] The fully-qualified Google Cloud Storage URI where the extracted table should be
written.
|
JobConfigurationExtract |
setFieldDelimiter(String fieldDelimiter)
[Optional] Delimiter to use between fields in the exported data.
|
JobConfigurationExtract |
setPrintHeader(Boolean printHeader)
[Optional] Whether to print out a heder row in the results.
|
JobConfigurationExtract |
setSourceTable(TableReference sourceTable)
[Required] A reference to the table being exported.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getDestinationFormat()
null
for nonepublic JobConfigurationExtract setDestinationFormat(String destinationFormat)
destinationFormat
- destinationFormat or null
for nonepublic String getDestinationUri()
null
for nonepublic JobConfigurationExtract setDestinationUri(String destinationUri)
destinationUri
- destinationUri or null
for nonepublic String getFieldDelimiter()
null
for nonepublic JobConfigurationExtract setFieldDelimiter(String fieldDelimiter)
fieldDelimiter
- fieldDelimiter or null
for nonepublic Boolean getPrintHeader()
null
for nonepublic JobConfigurationExtract setPrintHeader(Boolean printHeader)
printHeader
- printHeader or null
for nonepublic TableReference getSourceTable()
null
for nonepublic JobConfigurationExtract setSourceTable(TableReference sourceTable)
sourceTable
- sourceTable or null
for nonepublic JobConfigurationExtract set(String fieldName, Object value)
set
in class GenericJson
public JobConfigurationExtract clone()
clone
in class GenericJson