Package | Description |
---|---|
com.google.cloud.bigquery |
A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
analytics.
|
Modifier and Type | Class and Description |
---|---|
class |
BigtableOptions |
class |
CsvOptions
Google BigQuery options for CSV format.
|
class |
DatastoreBackupOptions
Google BigQuery options for Cloud Datastore backup.
|
class |
GoogleSheetsOptions
Google BigQuery options for the Google Sheets format.
|
Modifier and Type | Method and Description |
---|---|
<F extends FormatOptions> |
ExternalTableDefinition.getFormatOptions()
Returns the source format, and possibly some parsing options, of the external data.
|
Modifier and Type | Method and Description |
---|---|
static FormatOptions |
FormatOptions.avro()
Default options for AVRO format.
|
static FormatOptions |
FormatOptions.bigtable()
Default options for BIGTABLE format.
|
static FormatOptions |
FormatOptions.datastoreBackup()
Default options for DATASTORE_BACKUP format.
|
static FormatOptions |
FormatOptions.googleSheets()
Default options for GOOGLE_SHEETS format.
|
static FormatOptions |
FormatOptions.json()
Default options for NEWLINE_DELIMITED_JSON format.
|
static FormatOptions |
FormatOptions.of(String format)
Default options for the provided format.
|
static FormatOptions |
FormatOptions.orc()
Default options for the ORC format.
|
static FormatOptions |
FormatOptions.parquet()
Default options for PARQUET format.
|
Modifier and Type | Method and Description |
---|---|
Job |
Table.load(FormatOptions format,
List<String> sourceUris,
BigQuery.JobOption... options)
Starts a BigQuery Job to load data into the current table from the provided source URIs.
|
Job |
Table.load(FormatOptions format,
String sourceUri,
BigQuery.JobOption... options)
Starts a BigQuery Job to load data into the current table from the provided source URI.
|
static ExternalTableDefinition.Builder |
ExternalTableDefinition.newBuilder(List<String> sourceUris,
Schema schema,
FormatOptions format)
Creates a builder for an ExternalTableDefinition object.
|
static ExternalTableDefinition.Builder |
ExternalTableDefinition.newBuilder(String sourceUri,
Schema schema,
FormatOptions format)
Creates a builder for an ExternalTableDefinition object.
|
static WriteChannelConfiguration.Builder |
WriteChannelConfiguration.newBuilder(TableId destinationTable,
FormatOptions format)
Creates a builder for a BigQuery Load Configuration given the destination table and format.
|
static LoadJobConfiguration.Builder |
LoadJobConfiguration.newBuilder(TableId destinationTable,
List<String> sourceUris,
FormatOptions format)
Creates a builder for a BigQuery Load Job configuration given the destination table, format and
source URIs.
|
static LoadJobConfiguration.Builder |
LoadJobConfiguration.newBuilder(TableId destinationTable,
String sourceUri,
FormatOptions format)
Creates a builder for a BigQuery Load Job configuration given the destination table, format and
source URI.
|
static ExternalTableDefinition |
ExternalTableDefinition.of(List<String> sourceUris,
Schema schema,
FormatOptions format)
Creates an ExternalTableDefinition object.
|
static ExternalTableDefinition |
ExternalTableDefinition.of(String sourceUri,
Schema schema,
FormatOptions format)
Creates an ExternalTableDefinition object.
|
static WriteChannelConfiguration |
WriteChannelConfiguration.of(TableId destinationTable,
FormatOptions format)
Returns a BigQuery Load Configuration for the given destination table and format.
|
static LoadJobConfiguration |
LoadJobConfiguration.of(TableId destinationTable,
List<String> sourceUris,
FormatOptions format)
Returns a BigQuery Load Job Configuration for the given destination table, format and source
URI.
|
static LoadJobConfiguration |
LoadJobConfiguration.of(TableId destinationTable,
String sourceUri,
FormatOptions format)
Returns a BigQuery Load Job Configuration for the given destination table, format and source
URI.
|
ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setFormatOptions(FormatOptions formatOptions)
Sets the source format, and possibly some parsing options, of the external data.
|
WriteChannelConfiguration.Builder |
WriteChannelConfiguration.Builder.setFormatOptions(FormatOptions formatOptions) |
LoadJobConfiguration.Builder |
LoadJobConfiguration.Builder.setFormatOptions(FormatOptions formatOptions) |
LoadConfiguration.Builder |
LoadConfiguration.Builder.setFormatOptions(FormatOptions formatOptions)
Sets the source format, and possibly some parsing options, of the external data.
|
Copyright © 2019 Google LLC. All rights reserved.