Uses of Class
com.google.cloud.bigquery.ExternalTableDefinition.Builder
Packages that use ExternalTableDefinition.Builder
Package
Description
A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
analytics.
-
Uses of ExternalTableDefinition.Builder in com.google.cloud.bigquery
Methods in com.google.cloud.bigquery that return ExternalTableDefinition.BuilderModifier and TypeMethodDescriptionExternalTableDefinition.newBuilder(String sourceUri) Creates a builder for an ExternalTableDefinition object.ExternalTableDefinition.newBuilder(String sourceUri, FormatOptions format) Creates a builder for an ExternalTableDefinition object.ExternalTableDefinition.newBuilder(String sourceUri, Schema schema, FormatOptions format) Creates a builder for an ExternalTableDefinition object.ExternalTableDefinition.newBuilder(List<String> sourceUris, Schema schema, FormatOptions format) Creates a builder for an ExternalTableDefinition object.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setAutodetect(Boolean autodetect) [Experimental] Sets detection of schema and format options automatically.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setCompression(String compression) Sets compression type of the data source.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setConnectionId(String connectionId) [Optional, Trusted Tester] connectionId for external data source.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setDateFormat(String dateFormat) Format used to parse DATE values.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setDatetimeFormat(String datetimeFormat) Format used to parse DATETIME values.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setDecimalTargetTypes(List<String> decimalTargetTypes) Defines the list of possible SQL data types to which the source decimal values are converted.ExternalTableDefinition.Builder.setFileSetSpecType(String fileSetSpecType) Defines how to interpret files denoted by URIs.ExternalTableDefinition.Builder.setFormatOptions(FormatOptions formatOptions) Sets the source format, and possibly some parsing options, of the external data.ExternalTableDefinition.Builder.setHivePartitioningOptions(HivePartitioningOptions hivePartitioningOptions) Sets the table Hive partitioning options.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setIgnoreUnknownValues(Boolean ignoreUnknownValues) Sets whether BigQuery should allow extra values that are not represented in the table schema.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setMaxBadRecords(Integer maxBadRecords) Sets the maximum number of bad records that BigQuery can ignore when reading data.ExternalTableDefinition.Builder.setMaxStaleness(String maxStaleness) [Optional] Metadata Cache Mode for the table.ExternalTableDefinition.Builder.setMetadataCacheMode(String metadataCacheMode) [Optional] Metadata Cache Mode for the table.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setNullMarkers(List<String> nullMarkers) A list of strings represented as SQL NULL value in a CSV file. null_marker and null_markers can't be set at the same time.ExternalTableDefinition.Builder.setObjectMetadata(String objectMetadata) abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setReferenceFileSchemaUri(String referenceFileSchemaUri) When creating an external table, the user can provide a reference file with the table schema.abstract ExternalTableDefinition.BuilderSets the table schema.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setSourceColumnMatch(ExternalTableDefinition.SourceColumnMatch sourceColumnMatch) Controls the strategy used to match loaded columns to the schema.ExternalTableDefinition.Builder.setSourceUris(List<String> sourceUris) Sets the fully-qualified URIs that point to your data in Google Cloud Storage (e.g.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setTimeFormat(String timeFormat) Format used to parse TIME values.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setTimestampFormat(String timestampFormat) Format used to parse TIMESTAMP values.abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setTimeZone(String timeZone) Time zone used when parsing timestamp values that do not have specific time zone information (e.g. 2024-04-20 12:34:56).abstract ExternalTableDefinition.BuilderExternalTableDefinition.Builder.setType(TableDefinition.Type type) abstract ExternalTableDefinition.BuilderExternalTableDefinition.toBuilder()Returns a builder for theExternalTableDefinitionobject.