public static interface LoadConfiguration.Builder
| Modifier and Type | Method and Description |
|---|---|
LoadConfiguration |
build() |
LoadConfiguration.Builder |
createDisposition(JobInfo.CreateDisposition createDisposition)
Sets whether the job is allowed to create new tables.
|
LoadConfiguration.Builder |
destinationTable(TableId destinationTable)
Sets the destination table to load the data into.
|
LoadConfiguration.Builder |
formatOptions(FormatOptions formatOptions)
Sets the source format, and possibly some parsing options, of the external data.
|
LoadConfiguration.Builder |
ignoreUnknownValues(Boolean ignoreUnknownValues)
Sets whether BigQuery should allow extra values that are not represented in the table schema.
|
LoadConfiguration.Builder |
maxBadRecords(Integer maxBadRecords)
Sets the maximum number of bad records that BigQuery can ignore when running the job.
|
LoadConfiguration.Builder |
projectionFields(List<String> projectionFields)
Sets which entity properties to load into BigQuery from a Cloud Datastore backup.
|
LoadConfiguration.Builder |
schema(Schema schema)
Sets the schema for the destination table.
|
LoadConfiguration.Builder |
writeDisposition(JobInfo.WriteDisposition writeDisposition)
Sets the action that should occur if the destination table already exists.
|
LoadConfiguration.Builder destinationTable(TableId destinationTable)
LoadConfiguration.Builder createDisposition(JobInfo.CreateDisposition createDisposition)
LoadConfiguration.Builder writeDisposition(JobInfo.WriteDisposition writeDisposition)
LoadConfiguration.Builder formatOptions(FormatOptions formatOptions)
CSV, NEWLINE_DELIMITED_JSON and DATASTORE_BACKUP. If not
specified, CSV format is assumed.
Source FormatLoadConfiguration.Builder maxBadRecords(Integer maxBadRecords)
LoadConfiguration.Builder schema(Schema schema)
DATASTORE_BACKUP format option).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 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 build()
Copyright © 2016 Google. All rights reserved.