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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
JobConfigurationExtract() |
| Modifier and Type | Method and Description |
|---|---|
JobConfigurationExtract |
clone() |
String |
getCompression()
[Optional] The compression type to use for exported files.
|
String |
getDestinationFormat()
[Optional] The exported file format.
|
String |
getDestinationUri()
[Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary.
|
List<String> |
getDestinationUris()
[Pick one] A list of fully-qualified Google Cloud Storage URIs 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 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(String fieldName,
Object value) |
JobConfigurationExtract |
setCompression(String compression)
[Optional] The compression type to use for exported files.
|
JobConfigurationExtract |
setDestinationFormat(String destinationFormat)
[Optional] The exported file format.
|
JobConfigurationExtract |
setDestinationUri(String destinationUri)
[Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary.
|
JobConfigurationExtract |
setDestinationUris(List<String> destinationUris)
[Pick one] A list of fully-qualified Google Cloud Storage URIs 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 header row in the results.
|
JobConfigurationExtract |
setSourceTable(TableReference sourceTable)
[Required] A reference to the table being exported.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCompression()
null for nonepublic JobConfigurationExtract setCompression(String compression)
compression - compression or null for nonepublic 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 List<String> getDestinationUris()
null for nonepublic JobConfigurationExtract setDestinationUris(List<String> destinationUris)
destinationUris - destinationUris 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 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(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic JobConfigurationExtract clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2018 Google. All rights reserved.