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 | Method and Description |
---|---|
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,
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.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setAutodetect(Boolean autodetect)
[Experimental] Sets detection of schema and format options automatically.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setCompression(String compression)
Sets compression type of the data source.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setConnectionId(String connectionId)
[Optional, Trusted Tester] connectionId for external data source.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setDecimalTargetTypes(List<String> decimalTargetTypes)
Defines the list of possible SQL data types to which the source decimal values are converted.
|
ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setFormatOptions(FormatOptions formatOptions)
Sets the source format, and possibly some parsing options, of the external data.
|
ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setHivePartitioningOptions(HivePartitioningOptions hivePartitioningOptions)
Sets the table Hive partitioning options.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setIgnoreUnknownValues(Boolean ignoreUnknownValues)
Sets whether BigQuery should allow extra values that are not represented in the table schema.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setMaxBadRecords(Integer maxBadRecords)
Sets the maximum number of bad records that BigQuery can ignore when reading data.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setReferenceFileSchemaUri(String referenceFileSchemaUri)
When creating an external table, the user can provide a reference file with the table schema.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setSchema(Schema schema)
Sets the table schema.
|
ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setSourceUris(List<String> sourceUris)
Sets the fully-qualified URIs that point to your data in Google Cloud Storage (e.g.
|
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.Builder.setType(TableDefinition.Type type) |
abstract ExternalTableDefinition.Builder |
ExternalTableDefinition.toBuilder()
Returns a builder for the
ExternalTableDefinition object. |
Copyright © 2023 Google LLC. All rights reserved.