public final class JobConfigurationLoad extends 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
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.
|
String |
getCreateDisposition()
[Optional] Specifies whether the job is allowed to create new tables.
|
TableReference |
getDestinationTable()
[Required] The destination table to load the data into.
|
String |
getEncoding()
[Optional] The character encoding of the data.
|
String |
getFieldDelimiter()
[Optional] The separator for fields in a CSV file.
|
Boolean |
getIgnoreUnknownValues()
[Optional] Accept rows that contain values that do not match the schema.
|
Integer |
getMaxBadRecords()
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
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.
|
String |
getSchemaInline()
[Deprecated] The inline schema.
|
String |
getSchemaInlineFormat()
[Deprecated] The format of the schemaInline property.
|
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 Storage.
|
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 |
setCreateDisposition(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(String encoding)
[Optional] The character encoding of the data.
|
JobConfigurationLoad |
setFieldDelimiter(String fieldDelimiter)
[Optional] The separator for fields in a CSV file.
|
JobConfigurationLoad |
setIgnoreUnknownValues(Boolean ignoreUnknownValues)
[Optional] Accept rows that contain values that do not match the schema.
|
JobConfigurationLoad |
setMaxBadRecords(Integer maxBadRecords)
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
JobConfigurationLoad |
setQuote(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(String schemaInline)
[Deprecated] The inline schema.
|
JobConfigurationLoad |
setSchemaInlineFormat(String schemaInlineFormat)
[Deprecated] The format of the schemaInline property.
|
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 Storage.
|
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
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 String getCreateDisposition()
null
for nonepublic JobConfigurationLoad setCreateDisposition(String createDisposition)
createDisposition
- createDisposition or null
for nonepublic TableReference getDestinationTable()
null
for nonepublic JobConfigurationLoad setDestinationTable(TableReference destinationTable)
destinationTable
- destinationTable 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 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 getQuote()
null
for nonepublic JobConfigurationLoad setQuote(String quote)
quote
- quote 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 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 String getWriteDisposition()
null
for nonepublic JobConfigurationLoad setWriteDisposition(String writeDisposition)
writeDisposition
- writeDisposition or null
for nonepublic JobConfigurationLoad set(String fieldName, Object value)
set
in class GenericJson
public JobConfigurationLoad clone()
clone
in class GenericJson