public final class JobConfigurationLoad
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 |
---|
JobConfigurationLoad() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationLoad |
clone() |
Boolean |
getAllowJaggedRows()
Optional.
|
Boolean |
getAllowQuotedNewlines()
Indicates if BigQuery should allow quoted data sections that contain newline characters in a
CSV file.
|
Boolean |
getAutodetect()
Optional.
|
Clustering |
getClustering()
Clustering specification for the destination table.
|
String |
getColumnNameCharacterMap()
Optional.
|
List<ConnectionProperty> |
getConnectionProperties()
Optional.
|
Boolean |
getCopyFilesOnly()
Optional.
|
String |
getCreateDisposition()
Optional.
|
Boolean |
getCreateSession()
Optional.
|
List<String> |
getDecimalTargetTypes()
Defines the list of possible SQL data types to which the source decimal values are converted.
|
EncryptionConfiguration |
getDestinationEncryptionConfiguration()
Custom encryption configuration (e.g., Cloud KMS keys)
|
TableReference |
getDestinationTable()
[Required] The destination table to load the data into.
|
DestinationTableProperties |
getDestinationTableProperties()
Optional.
|
String |
getEncoding()
Optional.
|
String |
getFieldDelimiter()
Optional.
|
String |
getFileSetSpecType()
Optional.
|
HivePartitioningOptions |
getHivePartitioningOptions()
Optional.
|
Boolean |
getIgnoreUnknownValues()
Optional.
|
String |
getJsonExtension()
Optional.
|
Integer |
getMaxBadRecords()
Optional.
|
String |
getNullMarker()
Optional.
|
ParquetOptions |
getParquetOptions()
Optional.
|
Boolean |
getPreserveAsciiControlCharacters()
Optional.
|
List<String> |
getProjectionFields()
If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into
BigQuery from a Cloud Datastore backup.
|
String |
getQuote()
Optional.
|
RangePartitioning |
getRangePartitioning()
Range partitioning specification for the destination table.
|
String |
getReferenceFileSchemaUri()
Optional.
|
TableSchema |
getSchema()
Optional.
|
String |
getSchemaInline()
[Deprecated] The inline schema.
|
String |
getSchemaInlineFormat()
[Deprecated] The format of the schemaInline property.
|
List<String> |
getSchemaUpdateOptions()
Allows the schema of the destination table to be updated as a side effect of the load job if a
schema is autodetected or supplied in the job configuration.
|
Integer |
getSkipLeadingRows()
Optional.
|
String |
getSourceFormat()
Optional.
|
List<String> |
getSourceUris()
[Required] The fully-qualified URIs that point to your data in Google Cloud.
|
TimePartitioning |
getTimePartitioning()
Time-based partitioning specification for the destination table.
|
Boolean |
getUseAvroLogicalTypes()
Optional.
|
String |
getWriteDisposition()
Optional.
|
JobConfigurationLoad |
set(String fieldName,
Object value) |
JobConfigurationLoad |
setAllowJaggedRows(Boolean allowJaggedRows)
Optional.
|
JobConfigurationLoad |
setAllowQuotedNewlines(Boolean allowQuotedNewlines)
Indicates if BigQuery should allow quoted data sections that contain newline characters in a
CSV file.
|
JobConfigurationLoad |
setAutodetect(Boolean autodetect)
Optional.
|
JobConfigurationLoad |
setClustering(Clustering clustering)
Clustering specification for the destination table.
|
JobConfigurationLoad |
setColumnNameCharacterMap(String columnNameCharacterMap)
Optional.
|
JobConfigurationLoad |
setConnectionProperties(List<ConnectionProperty> connectionProperties)
Optional.
|
JobConfigurationLoad |
setCopyFilesOnly(Boolean copyFilesOnly)
Optional.
|
JobConfigurationLoad |
setCreateDisposition(String createDisposition)
Optional.
|
JobConfigurationLoad |
setCreateSession(Boolean createSession)
Optional.
|
JobConfigurationLoad |
setDecimalTargetTypes(List<String> decimalTargetTypes)
Defines the list of possible SQL data types to which the source decimal values are converted.
|
JobConfigurationLoad |
setDestinationEncryptionConfiguration(EncryptionConfiguration destinationEncryptionConfiguration)
Custom encryption configuration (e.g., Cloud KMS keys)
|
JobConfigurationLoad |
setDestinationTable(TableReference destinationTable)
[Required] The destination table to load the data into.
|
JobConfigurationLoad |
setDestinationTableProperties(DestinationTableProperties destinationTableProperties)
Optional.
|
JobConfigurationLoad |
setEncoding(String encoding)
Optional.
|
JobConfigurationLoad |
setFieldDelimiter(String fieldDelimiter)
Optional.
|
JobConfigurationLoad |
setFileSetSpecType(String fileSetSpecType)
Optional.
|
JobConfigurationLoad |
setHivePartitioningOptions(HivePartitioningOptions hivePartitioningOptions)
Optional.
|
JobConfigurationLoad |
setIgnoreUnknownValues(Boolean ignoreUnknownValues)
Optional.
|
JobConfigurationLoad |
setJsonExtension(String jsonExtension)
Optional.
|
JobConfigurationLoad |
setMaxBadRecords(Integer maxBadRecords)
Optional.
|
JobConfigurationLoad |
setNullMarker(String nullMarker)
Optional.
|
JobConfigurationLoad |
setParquetOptions(ParquetOptions parquetOptions)
Optional.
|
JobConfigurationLoad |
setPreserveAsciiControlCharacters(Boolean preserveAsciiControlCharacters)
Optional.
|
JobConfigurationLoad |
setProjectionFields(List<String> projectionFields)
If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into
BigQuery from a Cloud Datastore backup.
|
JobConfigurationLoad |
setQuote(String quote)
Optional.
|
JobConfigurationLoad |
setRangePartitioning(RangePartitioning rangePartitioning)
Range partitioning specification for the destination table.
|
JobConfigurationLoad |
setReferenceFileSchemaUri(String referenceFileSchemaUri)
Optional.
|
JobConfigurationLoad |
setSchema(TableSchema schema)
Optional.
|
JobConfigurationLoad |
setSchemaInline(String schemaInline)
[Deprecated] The inline schema.
|
JobConfigurationLoad |
setSchemaInlineFormat(String schemaInlineFormat)
[Deprecated] The format of the schemaInline property.
|
JobConfigurationLoad |
setSchemaUpdateOptions(List<String> schemaUpdateOptions)
Allows the schema of the destination table to be updated as a side effect of the load job if a
schema is autodetected or supplied in the job configuration.
|
JobConfigurationLoad |
setSkipLeadingRows(Integer skipLeadingRows)
Optional.
|
JobConfigurationLoad |
setSourceFormat(String sourceFormat)
Optional.
|
JobConfigurationLoad |
setSourceUris(List<String> sourceUris)
[Required] The fully-qualified URIs that point to your data in Google Cloud.
|
JobConfigurationLoad |
setTimePartitioning(TimePartitioning timePartitioning)
Time-based partitioning specification for the destination table.
|
JobConfigurationLoad |
setUseAvroLogicalTypes(Boolean useAvroLogicalTypes)
Optional.
|
JobConfigurationLoad |
setWriteDisposition(String writeDisposition)
Optional.
|
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 Boolean getAllowJaggedRows()
null
for nonepublic JobConfigurationLoad setAllowJaggedRows(Boolean allowJaggedRows)
allowJaggedRows
- allowJaggedRows or null
for nonepublic Boolean getAllowQuotedNewlines()
null
for nonepublic JobConfigurationLoad setAllowQuotedNewlines(Boolean allowQuotedNewlines)
allowQuotedNewlines
- allowQuotedNewlines or null
for nonepublic Boolean getAutodetect()
null
for nonepublic JobConfigurationLoad setAutodetect(Boolean autodetect)
autodetect
- autodetect or null
for nonepublic Clustering getClustering()
null
for nonepublic JobConfigurationLoad setClustering(Clustering clustering)
clustering
- clustering or null
for nonepublic String getColumnNameCharacterMap()
null
for nonepublic JobConfigurationLoad setColumnNameCharacterMap(String columnNameCharacterMap)
columnNameCharacterMap
- columnNameCharacterMap or null
for nonepublic List<ConnectionProperty> getConnectionProperties()
null
for nonepublic JobConfigurationLoad setConnectionProperties(List<ConnectionProperty> connectionProperties)
connectionProperties
- connectionProperties or null
for nonepublic Boolean getCopyFilesOnly()
null
for nonepublic JobConfigurationLoad setCopyFilesOnly(Boolean copyFilesOnly)
copyFilesOnly
- copyFilesOnly or null
for nonepublic String getCreateDisposition()
null
for nonepublic JobConfigurationLoad setCreateDisposition(String createDisposition)
createDisposition
- createDisposition or null
for nonepublic Boolean getCreateSession()
null
for nonepublic JobConfigurationLoad setCreateSession(Boolean createSession)
createSession
- createSession or null
for nonepublic List<String> getDecimalTargetTypes()
null
for nonepublic JobConfigurationLoad setDecimalTargetTypes(List<String> decimalTargetTypes)
decimalTargetTypes
- decimalTargetTypes or null
for nonepublic EncryptionConfiguration getDestinationEncryptionConfiguration()
null
for nonepublic JobConfigurationLoad setDestinationEncryptionConfiguration(EncryptionConfiguration destinationEncryptionConfiguration)
destinationEncryptionConfiguration
- destinationEncryptionConfiguration or null
for nonepublic TableReference getDestinationTable()
null
for nonepublic JobConfigurationLoad setDestinationTable(TableReference destinationTable)
destinationTable
- destinationTable or null
for nonepublic DestinationTableProperties getDestinationTableProperties()
null
for nonepublic JobConfigurationLoad setDestinationTableProperties(DestinationTableProperties destinationTableProperties)
destinationTableProperties
- destinationTableProperties or null
for nonepublic String getEncoding()
null
for nonepublic JobConfigurationLoad setEncoding(String encoding)
encoding
- encoding or null
for nonepublic String getFieldDelimiter()
null
for nonepublic JobConfigurationLoad setFieldDelimiter(String fieldDelimiter)
fieldDelimiter
- fieldDelimiter or null
for nonepublic String getFileSetSpecType()
null
for nonepublic JobConfigurationLoad setFileSetSpecType(String fileSetSpecType)
fileSetSpecType
- fileSetSpecType or null
for nonepublic HivePartitioningOptions getHivePartitioningOptions()
null
for nonepublic JobConfigurationLoad setHivePartitioningOptions(HivePartitioningOptions hivePartitioningOptions)
hivePartitioningOptions
- hivePartitioningOptions or null
for nonepublic Boolean getIgnoreUnknownValues()
null
for nonepublic JobConfigurationLoad setIgnoreUnknownValues(Boolean ignoreUnknownValues)
ignoreUnknownValues
- ignoreUnknownValues or null
for nonepublic String getJsonExtension()
null
for nonepublic JobConfigurationLoad setJsonExtension(String jsonExtension)
jsonExtension
- jsonExtension or null
for nonepublic Integer getMaxBadRecords()
null
for nonepublic JobConfigurationLoad setMaxBadRecords(Integer maxBadRecords)
maxBadRecords
- maxBadRecords or null
for nonepublic String getNullMarker()
null
for nonepublic JobConfigurationLoad setNullMarker(String nullMarker)
nullMarker
- nullMarker or null
for nonepublic ParquetOptions getParquetOptions()
null
for nonepublic JobConfigurationLoad setParquetOptions(ParquetOptions parquetOptions)
parquetOptions
- parquetOptions or null
for nonepublic Boolean getPreserveAsciiControlCharacters()
null
for nonepublic JobConfigurationLoad setPreserveAsciiControlCharacters(Boolean preserveAsciiControlCharacters)
preserveAsciiControlCharacters
- preserveAsciiControlCharacters or null
for nonepublic List<String> getProjectionFields()
null
for nonepublic JobConfigurationLoad setProjectionFields(List<String> projectionFields)
projectionFields
- projectionFields or null
for nonepublic String getQuote()
null
for nonepublic JobConfigurationLoad setQuote(String quote)
quote
- quote or null
for nonepublic RangePartitioning getRangePartitioning()
null
for nonepublic JobConfigurationLoad setRangePartitioning(RangePartitioning rangePartitioning)
rangePartitioning
- rangePartitioning or null
for nonepublic String getReferenceFileSchemaUri()
null
for nonepublic JobConfigurationLoad setReferenceFileSchemaUri(String referenceFileSchemaUri)
referenceFileSchemaUri
- referenceFileSchemaUri or null
for nonepublic TableSchema getSchema()
null
for nonepublic JobConfigurationLoad setSchema(TableSchema schema)
schema
- schema or null
for nonepublic String getSchemaInline()
null
for nonepublic JobConfigurationLoad setSchemaInline(String schemaInline)
schemaInline
- schemaInline or null
for nonepublic String getSchemaInlineFormat()
null
for nonepublic JobConfigurationLoad setSchemaInlineFormat(String schemaInlineFormat)
schemaInlineFormat
- schemaInlineFormat or null
for nonepublic List<String> getSchemaUpdateOptions()
null
for nonepublic JobConfigurationLoad setSchemaUpdateOptions(List<String> schemaUpdateOptions)
schemaUpdateOptions
- schemaUpdateOptions or null
for nonepublic Integer getSkipLeadingRows()
null
for nonepublic JobConfigurationLoad setSkipLeadingRows(Integer skipLeadingRows)
skipLeadingRows
- skipLeadingRows or null
for nonepublic String getSourceFormat()
null
for nonepublic JobConfigurationLoad setSourceFormat(String sourceFormat)
sourceFormat
- sourceFormat or null
for nonepublic List<String> getSourceUris()
null
for nonepublic JobConfigurationLoad setSourceUris(List<String> sourceUris)
sourceUris
- sourceUris or null
for nonepublic TimePartitioning getTimePartitioning()
null
for nonepublic JobConfigurationLoad setTimePartitioning(TimePartitioning timePartitioning)
timePartitioning
- timePartitioning or null
for nonepublic Boolean getUseAvroLogicalTypes()
null
for nonepublic JobConfigurationLoad setUseAvroLogicalTypes(Boolean useAvroLogicalTypes)
useAvroLogicalTypes
- useAvroLogicalTypes or null
for nonepublic String getWriteDisposition()
null
for nonepublic JobConfigurationLoad setWriteDisposition(String writeDisposition)
writeDisposition
- writeDisposition or null
for nonepublic JobConfigurationLoad set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public JobConfigurationLoad clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.