Reference documentation and code samples for the Google Cloud Data Catalog V1BETA1 API class Google::Cloud::DataCatalog::V1beta1::BigQueryDateShardedSpec.
Spec for a group of BigQuery tables with name pattern [prefix]YYYYMMDD
.
Context:
https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dataset
def dataset() -> ::String
Returns
-
(::String) — Output only. The Data Catalog resource name of the dataset entry the
current table belongs to, for example,
projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}
.
#shard_count
def shard_count() -> ::Integer
Returns
- (::Integer) — Output only. Total number of shards.
#table_prefix
def table_prefix() -> ::String
Returns
-
(::String) — Output only. The table name prefix of the shards. The name of any given
shard is
[table_prefix]YYYYMMDD
, for example, for shardMyTable20180101
, thetable_prefix
isMyTable
.