public final class JobConfigurationExtract
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
JobConfigurationExtract() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationExtract |
clone() |
java.lang.String |
getCompression()
[Optional] The compression type to use for exported files.
|
java.lang.String |
getDestinationFormat()
[Optional] The exported file format.
|
java.lang.String |
getDestinationUri()
[Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary.
|
java.util.List<java.lang.String> |
getDestinationUris()
[Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should
be written.
|
java.lang.String |
getFieldDelimiter()
[Optional] Delimiter to use between fields in the exported data.
|
java.lang.Boolean |
getPrintHeader()
[Optional] Whether to print out a header row in the results.
|
TableReference |
getSourceTable()
[Required] A reference to the table being exported.
|
boolean |
isPrintHeader()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE . |
JobConfigurationExtract |
set(java.lang.String fieldName,
java.lang.Object value) |
JobConfigurationExtract |
setCompression(java.lang.String compression)
[Optional] The compression type to use for exported files.
|
JobConfigurationExtract |
setDestinationFormat(java.lang.String destinationFormat)
[Optional] The exported file format.
|
JobConfigurationExtract |
setDestinationUri(java.lang.String destinationUri)
[Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary.
|
JobConfigurationExtract |
setDestinationUris(java.util.List<java.lang.String> destinationUris)
[Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should
be written.
|
JobConfigurationExtract |
setFieldDelimiter(java.lang.String fieldDelimiter)
[Optional] Delimiter to use between fields in the exported data.
|
JobConfigurationExtract |
setPrintHeader(java.lang.Boolean printHeader)
[Optional] Whether to print out a header 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
public java.lang.String getCompression()
null
for nonepublic JobConfigurationExtract setCompression(java.lang.String compression)
compression
- compression or null
for nonepublic java.lang.String getDestinationFormat()
null
for nonepublic JobConfigurationExtract setDestinationFormat(java.lang.String destinationFormat)
destinationFormat
- destinationFormat or null
for nonepublic java.lang.String getDestinationUri()
null
for nonepublic JobConfigurationExtract setDestinationUri(java.lang.String destinationUri)
destinationUri
- destinationUri or null
for nonepublic java.util.List<java.lang.String> getDestinationUris()
null
for nonepublic JobConfigurationExtract setDestinationUris(java.util.List<java.lang.String> destinationUris)
destinationUris
- destinationUris or null
for nonepublic java.lang.String getFieldDelimiter()
null
for nonepublic JobConfigurationExtract setFieldDelimiter(java.lang.String fieldDelimiter)
fieldDelimiter
- fieldDelimiter or null
for nonepublic java.lang.Boolean getPrintHeader()
null
for nonepublic JobConfigurationExtract setPrintHeader(java.lang.Boolean printHeader)
printHeader
- printHeader or null
for nonepublic boolean isPrintHeader()
Boolean.TRUE
or Boolean.FALSE
.
Boolean properties can have four possible values:
null
, Data.NULL_BOOLEAN
, Boolean.TRUE
or Boolean.FALSE
.
This method returns Boolean.TRUE
if the default of the property is Boolean.TRUE
and it is null
or Data.NULL_BOOLEAN
.
Boolean.FALSE
is returned if the default of the property is Boolean.FALSE
and
it is null
or Data.NULL_BOOLEAN
.
[ Optional] Whether to print out a header row in the results. Default is true.
public TableReference getSourceTable()
null
for nonepublic JobConfigurationExtract setSourceTable(TableReference sourceTable)
sourceTable
- sourceTable or null
for nonepublic JobConfigurationExtract set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public JobConfigurationExtract clone()
clone
in class com.google.api.client.json.GenericJson