Interface BigQueryOptionsOrBuilder (3.18.0)

public interface BigQueryOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUsePartitionedTables()

public abstract boolean getUsePartitionedTables()

Optional. Whether to use BigQuery's partition tables. By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax has to be used instead. In both cases, tables are sharded based on UTC timezone.

bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The usePartitionedTables.

getUsesTimestampColumnPartitioning()

public abstract boolean getUsesTimestampColumnPartitioning()

Output only. True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use.

All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.

bool uses_timestamp_column_partitioning = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The usesTimestampColumnPartitioning.