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] Accept rows that are missing trailing optional columns.
|
Boolean |
getAllowQuotedNewlines()
Indicates if BigQuery should allow quoted data sections that contain newline characters in a
CSV file.
|
Boolean |
getAutodetect()
[Optional] Indicates if we should automatically infer the options and schema for CSV and JSON
sources.
|
Clustering |
getClustering()
[Beta] Clustering specification for the destination table.
|
String |
getCreateDisposition()
[Optional] Specifies whether the job is allowed to create new tables.
|
EncryptionConfiguration |
getDestinationEncryptionConfiguration()
Custom encryption configuration (e.g., Cloud KMS keys).
|
TableReference |
getDestinationTable()
[Required] The destination table to load the data into.
|
DestinationTableProperties |
getDestinationTableProperties()
[Beta] [Optional] Properties with which to create the destination table if it is new.
|
String |
getEncoding()
[Optional] The character encoding of the data.
|
String |
getFieldDelimiter()
[Optional] The separator for fields in a CSV file.
|
String |
getHivePartitioningMode()
[Optional, Experimental] If hive partitioning is enabled, which mode to use.
|
Boolean |
getIgnoreUnknownValues()
[Optional] Indicates if BigQuery should allow extra values that are not represented in the
table schema.
|
Integer |
getMaxBadRecords()
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
String |
getNullMarker()
[Optional] Specifies a string that represents a null value in a CSV file.
|
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] The value that is used to quote data sections in a CSV file.
|
RangePartitioning |
getRangePartitioning()
[TrustedTester] Range partitioning specification for this table.
|
TableSchema |
getSchema()
[Optional] The schema for the destination table.
|
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] The number of rows at the top of a CSV file that BigQuery will skip when loading the
data.
|
String |
getSourceFormat()
[Optional] The format of the data files.
|
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] If sourceFormat is set to "AVRO", indicates whether to enable interpreting logical
types into their corresponding types (ie.
|
String |
getWriteDisposition()
[Optional] Specifies the action that occurs if the destination table already exists.
|
JobConfigurationLoad |
set(String fieldName,
Object value) |
JobConfigurationLoad |
setAllowJaggedRows(Boolean allowJaggedRows)
[Optional] Accept rows that are missing trailing optional columns.
|
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] Indicates if we should automatically infer the options and schema for CSV and JSON
sources.
|
JobConfigurationLoad |
setClustering(Clustering clustering)
[Beta] Clustering specification for the destination table.
|
JobConfigurationLoad |
setCreateDisposition(String createDisposition)
[Optional] Specifies whether the job is allowed to create new tables.
|
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)
[Beta] [Optional] Properties with which to create the destination table if it is new.
|
JobConfigurationLoad |
setEncoding(String encoding)
[Optional] The character encoding of the data.
|
JobConfigurationLoad |
setFieldDelimiter(String fieldDelimiter)
[Optional] The separator for fields in a CSV file.
|
JobConfigurationLoad |
setHivePartitioningMode(String hivePartitioningMode)
[Optional, Experimental] If hive partitioning is enabled, which mode to use.
|
JobConfigurationLoad |
setIgnoreUnknownValues(Boolean ignoreUnknownValues)
[Optional] Indicates if BigQuery should allow extra values that are not represented in the
table schema.
|
JobConfigurationLoad |
setMaxBadRecords(Integer maxBadRecords)
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
JobConfigurationLoad |
setNullMarker(String nullMarker)
[Optional] Specifies a string that represents a null value in a CSV file.
|
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] The value that is used to quote data sections in a CSV file.
|
JobConfigurationLoad |
setRangePartitioning(RangePartitioning rangePartitioning)
[TrustedTester] Range partitioning specification for this table.
|
JobConfigurationLoad |
setSchema(TableSchema schema)
[Optional] The schema for the destination table.
|
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] The number of rows at the top of a CSV file that BigQuery will skip when loading the
data.
|
JobConfigurationLoad |
setSourceFormat(String sourceFormat)
[Optional] The format of the data files.
|
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] If sourceFormat is set to "AVRO", indicates whether to enable interpreting logical
types into their corresponding types (ie.
|
JobConfigurationLoad |
setWriteDisposition(String writeDisposition)
[Optional] Specifies the action that occurs if the destination table already exists.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, 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 getCreateDisposition()
null
for nonepublic JobConfigurationLoad setCreateDisposition(String createDisposition)
createDisposition
- createDisposition 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 getHivePartitioningMode()
null
for nonepublic JobConfigurationLoad setHivePartitioningMode(String hivePartitioningMode)
hivePartitioningMode
- hivePartitioningMode or null
for nonepublic Boolean getIgnoreUnknownValues()
null
for nonepublic JobConfigurationLoad setIgnoreUnknownValues(Boolean ignoreUnknownValues)
ignoreUnknownValues
- ignoreUnknownValues 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 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 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–2019 Google. All rights reserved.