public static interface LoadConfiguration.Builder
Modifier and Type | Method and Description |
---|---|
LoadConfiguration |
build() |
LoadConfiguration.Builder |
createDisposition(JobInfo.CreateDisposition createDisposition)
Deprecated.
|
LoadConfiguration.Builder |
destinationTable(TableId destinationTable)
Deprecated.
|
LoadConfiguration.Builder |
formatOptions(FormatOptions formatOptions)
Deprecated.
|
LoadConfiguration.Builder |
ignoreUnknownValues(Boolean ignoreUnknownValues)
Deprecated.
|
LoadConfiguration.Builder |
maxBadRecords(Integer maxBadRecords)
Deprecated.
|
LoadConfiguration.Builder |
projectionFields(List<String> projectionFields)
Deprecated.
|
LoadConfiguration.Builder |
schema(Schema schema)
Deprecated.
|
LoadConfiguration.Builder |
setCreateDisposition(JobInfo.CreateDisposition createDisposition)
Sets whether the job is allowed to create new tables.
|
LoadConfiguration.Builder |
setDestinationTable(TableId destinationTable)
Sets the destination table to load the data into.
|
LoadConfiguration.Builder |
setFormatOptions(FormatOptions formatOptions)
Sets the source format, and possibly some parsing options, of the external data.
|
LoadConfiguration.Builder |
setIgnoreUnknownValues(Boolean ignoreUnknownValues)
Sets whether BigQuery should allow extra values that are not represented in the table schema.
|
LoadConfiguration.Builder |
setMaxBadRecords(Integer maxBadRecords)
Sets the maximum number of bad records that BigQuery can ignore when running the job.
|
LoadConfiguration.Builder |
setProjectionFields(List<String> projectionFields)
Sets which entity properties to load into BigQuery from a Cloud Datastore backup.
|
LoadConfiguration.Builder |
setSchema(Schema schema)
Sets the schema for the destination table.
|
LoadConfiguration.Builder |
setWriteDisposition(JobInfo.WriteDisposition writeDisposition)
Sets the action that should occur if the destination table already exists.
|
LoadConfiguration.Builder |
writeDisposition(JobInfo.WriteDisposition writeDisposition)
Deprecated.
|
@Deprecated LoadConfiguration.Builder destinationTable(TableId destinationTable)
LoadConfiguration.Builder setDestinationTable(TableId destinationTable)
@Deprecated LoadConfiguration.Builder createDisposition(JobInfo.CreateDisposition createDisposition)
LoadConfiguration.Builder setCreateDisposition(JobInfo.CreateDisposition createDisposition)
@Deprecated LoadConfiguration.Builder writeDisposition(JobInfo.WriteDisposition writeDisposition)
LoadConfiguration.Builder setWriteDisposition(JobInfo.WriteDisposition writeDisposition)
@Deprecated LoadConfiguration.Builder formatOptions(FormatOptions formatOptions)
CSV
, NEWLINE_DELIMITED_JSON
and DATASTORE_BACKUP
. If not
specified, CSV
format is assumed.
Source FormatLoadConfiguration.Builder setFormatOptions(FormatOptions formatOptions)
CSV
, NEWLINE_DELIMITED_JSON
and DATASTORE_BACKUP
. If not
specified, CSV
format is assumed.
Source Format@Deprecated LoadConfiguration.Builder maxBadRecords(Integer maxBadRecords)
LoadConfiguration.Builder setMaxBadRecords(Integer maxBadRecords)
@Deprecated LoadConfiguration.Builder schema(Schema schema)
DATASTORE_BACKUP
format option).LoadConfiguration.Builder setSchema(Schema schema)
DATASTORE_BACKUP
format option).@Deprecated LoadConfiguration.Builder ignoreUnknownValues(Boolean ignoreUnknownValues)
true
, the extra values are ignored. If false
, records with extra columns
are treated as bad records, and if there are too many bad records, an invalid error is
returned in the job result. By default unknown values are not allowed.LoadConfiguration.Builder setIgnoreUnknownValues(Boolean ignoreUnknownValues)
true
, the extra values are ignored. If false
, records with extra columns
are treated as bad records, and if there are too many bad records, an invalid error is
returned in the job result. By default unknown values are not allowed.@Deprecated LoadConfiguration.Builder projectionFields(List<String> projectionFields)
DATASTORE_BACKUP
. Property names are case
sensitive and must be top-level properties. If no properties are specified, BigQuery loads
all properties. If any named property isn't found in the Cloud Datastore backup, an invalid
error is returned in the job result.LoadConfiguration.Builder setProjectionFields(List<String> projectionFields)
DATASTORE_BACKUP
. Property names are case
sensitive and must be top-level properties. If no properties are specified, BigQuery loads
all properties. If any named property isn't found in the Cloud Datastore backup, an invalid
error is returned in the job result.LoadConfiguration build()
Copyright © 2016 Google. All rights reserved.