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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobConfigurationExtract() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationExtract |
clone() |
String |
getCompression()
Optional.
|
String |
getDestinationFormat()
Optional.
|
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.
|
ModelExtractOptions |
getModelExtractOptions()
Optional.
|
Boolean |
getPrintHeader()
Optional.
|
ModelReference |
getSourceModel()
A reference to the model being exported.
|
TableReference |
getSourceTable()
A reference to the table being exported.
|
Boolean |
getUseAvroLogicalTypes()
Whether to use logical types when extracting to AVRO format.
|
boolean |
isPrintHeader()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE . |
JobConfigurationExtract |
set(String fieldName,
Object value) |
JobConfigurationExtract |
setCompression(String compression)
Optional.
|
JobConfigurationExtract |
setDestinationFormat(String destinationFormat)
Optional.
|
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.
|
JobConfigurationExtract |
setModelExtractOptions(ModelExtractOptions modelExtractOptions)
Optional.
|
JobConfigurationExtract |
setPrintHeader(Boolean printHeader)
Optional.
|
JobConfigurationExtract |
setSourceModel(ModelReference sourceModel)
A reference to the model being exported.
|
JobConfigurationExtract |
setSourceTable(TableReference sourceTable)
A reference to the table being exported.
|
JobConfigurationExtract |
setUseAvroLogicalTypes(Boolean useAvroLogicalTypes)
Whether to use logical types when extracting to AVRO format.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 ModelExtractOptions getModelExtractOptions()
null
for nonepublic JobConfigurationExtract setModelExtractOptions(ModelExtractOptions modelExtractOptions)
modelExtractOptions
- modelExtractOptions 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. Not applicable when extracting models.
public ModelReference getSourceModel()
null
for nonepublic JobConfigurationExtract setSourceModel(ModelReference sourceModel)
sourceModel
- sourceModel or null
for nonepublic TableReference getSourceTable()
null
for nonepublic JobConfigurationExtract setSourceTable(TableReference sourceTable)
sourceTable
- sourceTable or null
for nonepublic Boolean getUseAvroLogicalTypes()
null
for nonepublic JobConfigurationExtract setUseAvroLogicalTypes(Boolean useAvroLogicalTypes)
useAvroLogicalTypes
- useAvroLogicalTypes or null
for nonepublic JobConfigurationExtract set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public JobConfigurationExtract clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.