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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
JobConfigurationLoad() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationLoad |
clone() |
java.lang.Boolean |
getAllowJaggedRows()
[Optional] Accept rows that are missing trailing optional columns.
|
java.lang.Boolean |
getAllowQuotedNewlines()
Indicates if BigQuery should allow quoted data sections that contain newline characters in a
CSV file.
|
java.lang.String |
getCreateDisposition()
[Optional] Specifies whether the job is allowed to create new tables.
|
TableReference |
getDestinationTable()
[Required] The destination table to load the data into.
|
java.lang.String |
getEncoding()
[Optional] The character encoding of the data.
|
java.lang.String |
getFieldDelimiter()
[Optional] The separator for fields in a CSV file.
|
java.lang.Boolean |
getIgnoreUnknownValues()
[Optional] Indicates if BigQuery should allow extra values that are not represented in the
table schema.
|
java.lang.Integer |
getMaxBadRecords()
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
java.util.List<java.lang.String> |
getProjectionFields()
[Experimental] If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties
to load into BigQuery from a Cloud Datastore backup.
|
java.lang.String |
getQuote()
[Optional] The value that is used to quote data sections in a CSV file.
|
TableSchema |
getSchema()
[Optional] The schema for the destination table.
|
java.lang.String |
getSchemaInline()
[Deprecated] The inline schema.
|
java.lang.String |
getSchemaInlineFormat()
[Deprecated] The format of the schemaInline property.
|
java.lang.Integer |
getSkipLeadingRows()
[Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the
data.
|
java.lang.String |
getSourceFormat()
[Optional] The format of the data files.
|
java.util.List<java.lang.String> |
getSourceUris()
[Required] The fully-qualified URIs that point to your data in Google Cloud Storage.
|
java.lang.String |
getWriteDisposition()
[Optional] Specifies the action that occurs if the destination table already exists.
|
JobConfigurationLoad |
set(java.lang.String fieldName,
java.lang.Object value) |
JobConfigurationLoad |
setAllowJaggedRows(java.lang.Boolean allowJaggedRows)
[Optional] Accept rows that are missing trailing optional columns.
|
JobConfigurationLoad |
setAllowQuotedNewlines(java.lang.Boolean allowQuotedNewlines)
Indicates if BigQuery should allow quoted data sections that contain newline characters in a
CSV file.
|
JobConfigurationLoad |
setCreateDisposition(java.lang.String createDisposition)
[Optional] Specifies whether the job is allowed to create new tables.
|
JobConfigurationLoad |
setDestinationTable(TableReference destinationTable)
[Required] The destination table to load the data into.
|
JobConfigurationLoad |
setEncoding(java.lang.String encoding)
[Optional] The character encoding of the data.
|
JobConfigurationLoad |
setFieldDelimiter(java.lang.String fieldDelimiter)
[Optional] The separator for fields in a CSV file.
|
JobConfigurationLoad |
setIgnoreUnknownValues(java.lang.Boolean ignoreUnknownValues)
[Optional] Indicates if BigQuery should allow extra values that are not represented in the
table schema.
|
JobConfigurationLoad |
setMaxBadRecords(java.lang.Integer maxBadRecords)
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
JobConfigurationLoad |
setProjectionFields(java.util.List<java.lang.String> projectionFields)
[Experimental] If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties
to load into BigQuery from a Cloud Datastore backup.
|
JobConfigurationLoad |
setQuote(java.lang.String quote)
[Optional] The value that is used to quote data sections in a CSV file.
|
JobConfigurationLoad |
setSchema(TableSchema schema)
[Optional] The schema for the destination table.
|
JobConfigurationLoad |
setSchemaInline(java.lang.String schemaInline)
[Deprecated] The inline schema.
|
JobConfigurationLoad |
setSchemaInlineFormat(java.lang.String schemaInlineFormat)
[Deprecated] The format of the schemaInline property.
|
JobConfigurationLoad |
setSkipLeadingRows(java.lang.Integer skipLeadingRows)
[Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the
data.
|
JobConfigurationLoad |
setSourceFormat(java.lang.String sourceFormat)
[Optional] The format of the data files.
|
JobConfigurationLoad |
setSourceUris(java.util.List<java.lang.String> sourceUris)
[Required] The fully-qualified URIs that point to your data in Google Cloud Storage.
|
JobConfigurationLoad |
setWriteDisposition(java.lang.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
public java.lang.Boolean getAllowJaggedRows()
null
for nonepublic JobConfigurationLoad setAllowJaggedRows(java.lang.Boolean allowJaggedRows)
allowJaggedRows
- allowJaggedRows or null
for nonepublic java.lang.Boolean getAllowQuotedNewlines()
null
for nonepublic JobConfigurationLoad setAllowQuotedNewlines(java.lang.Boolean allowQuotedNewlines)
allowQuotedNewlines
- allowQuotedNewlines or null
for nonepublic java.lang.String getCreateDisposition()
null
for nonepublic JobConfigurationLoad setCreateDisposition(java.lang.String createDisposition)
createDisposition
- createDisposition or null
for nonepublic TableReference getDestinationTable()
null
for nonepublic JobConfigurationLoad setDestinationTable(TableReference destinationTable)
destinationTable
- destinationTable or null
for nonepublic java.lang.String getEncoding()
null
for nonepublic JobConfigurationLoad setEncoding(java.lang.String encoding)
encoding
- encoding or null
for nonepublic java.lang.String getFieldDelimiter()
null
for nonepublic JobConfigurationLoad setFieldDelimiter(java.lang.String fieldDelimiter)
fieldDelimiter
- fieldDelimiter or null
for nonepublic java.lang.Boolean getIgnoreUnknownValues()
null
for nonepublic JobConfigurationLoad setIgnoreUnknownValues(java.lang.Boolean ignoreUnknownValues)
ignoreUnknownValues
- ignoreUnknownValues or null
for nonepublic java.lang.Integer getMaxBadRecords()
null
for nonepublic JobConfigurationLoad setMaxBadRecords(java.lang.Integer maxBadRecords)
maxBadRecords
- maxBadRecords or null
for nonepublic java.util.List<java.lang.String> getProjectionFields()
null
for nonepublic JobConfigurationLoad setProjectionFields(java.util.List<java.lang.String> projectionFields)
projectionFields
- projectionFields or null
for nonepublic java.lang.String getQuote()
null
for nonepublic JobConfigurationLoad setQuote(java.lang.String quote)
quote
- quote or null
for nonepublic TableSchema getSchema()
null
for nonepublic JobConfigurationLoad setSchema(TableSchema schema)
schema
- schema or null
for nonepublic java.lang.String getSchemaInline()
null
for nonepublic JobConfigurationLoad setSchemaInline(java.lang.String schemaInline)
schemaInline
- schemaInline or null
for nonepublic java.lang.String getSchemaInlineFormat()
null
for nonepublic JobConfigurationLoad setSchemaInlineFormat(java.lang.String schemaInlineFormat)
schemaInlineFormat
- schemaInlineFormat or null
for nonepublic java.lang.Integer getSkipLeadingRows()
null
for nonepublic JobConfigurationLoad setSkipLeadingRows(java.lang.Integer skipLeadingRows)
skipLeadingRows
- skipLeadingRows or null
for nonepublic java.lang.String getSourceFormat()
null
for nonepublic JobConfigurationLoad setSourceFormat(java.lang.String sourceFormat)
sourceFormat
- sourceFormat or null
for nonepublic java.util.List<java.lang.String> getSourceUris()
null
for nonepublic JobConfigurationLoad setSourceUris(java.util.List<java.lang.String> sourceUris)
sourceUris
- sourceUris or null
for nonepublic java.lang.String getWriteDisposition()
null
for nonepublic JobConfigurationLoad setWriteDisposition(java.lang.String writeDisposition)
writeDisposition
- writeDisposition or null
for nonepublic JobConfigurationLoad set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public JobConfigurationLoad clone()
clone
in class com.google.api.client.json.GenericJson