Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation (v0.8.0)

Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation.

Represents a database relation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#additional_options

def additional_options() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.

#additional_options=

def additional_options=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.

#cluster_expressions

def cluster_expressions() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of columns or SQL expressions used to cluster the table.

#cluster_expressions=

def cluster_expressions=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of columns or SQL expressions used to cluster the table.
Returns
  • (::Array<::String>) — A list of columns or SQL expressions used to cluster the table.

#dependency_targets

def dependency_targets() -> ::Array<::Google::Cloud::Dataform::V1beta1::Target>
Returns

#dependency_targets=

def dependency_targets=(value) -> ::Array<::Google::Cloud::Dataform::V1beta1::Target>
Parameter
Returns

#disabled

def disabled() -> ::Boolean
Returns
  • (::Boolean) — Whether this action is disabled (i.e. should not be run).

#disabled=

def disabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether this action is disabled (i.e. should not be run).
Returns
  • (::Boolean) — Whether this action is disabled (i.e. should not be run).

#incremental_table_config

def incremental_table_config() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig
Returns

#incremental_table_config=

def incremental_table_config=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig
Parameter
Returns

#partition_expiration_days

def partition_expiration_days() -> ::Integer
Returns
  • (::Integer) — Sets the partition expiration in days.

#partition_expiration_days=

def partition_expiration_days=(value) -> ::Integer
Parameter
  • value (::Integer) — Sets the partition expiration in days.
Returns
  • (::Integer) — Sets the partition expiration in days.

#partition_expression

def partition_expression() -> ::String
Returns
  • (::String) — The SQL expression used to partition the relation.

#partition_expression=

def partition_expression=(value) -> ::String
Parameter
  • value (::String) — The SQL expression used to partition the relation.
Returns
  • (::String) — The SQL expression used to partition the relation.

#post_operations

def post_operations() -> ::Array<::String>
Returns
  • (::Array<::String>) — SQL statements to be executed after creating the relation.

#post_operations=

def post_operations=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — SQL statements to be executed after creating the relation.
Returns
  • (::Array<::String>) — SQL statements to be executed after creating the relation.

#pre_operations

def pre_operations() -> ::Array<::String>
Returns
  • (::Array<::String>) — SQL statements to be executed before creating the relation.

#pre_operations=

def pre_operations=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — SQL statements to be executed before creating the relation.
Returns
  • (::Array<::String>) — SQL statements to be executed before creating the relation.

#relation_descriptor

def relation_descriptor() -> ::Google::Cloud::Dataform::V1beta1::RelationDescriptor
Returns

#relation_descriptor=

def relation_descriptor=(value) -> ::Google::Cloud::Dataform::V1beta1::RelationDescriptor
Parameter
Returns

#relation_type

def relation_type() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType

#relation_type=

def relation_type=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType

#require_partition_filter

def require_partition_filter() -> ::Boolean
Returns
  • (::Boolean) — Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.

#require_partition_filter=

def require_partition_filter=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
Returns
  • (::Boolean) — Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.

#select_query

def select_query() -> ::String
Returns
  • (::String) — The SELECT query which returns rows which this relation should contain.

#select_query=

def select_query=(value) -> ::String
Parameter
  • value (::String) — The SELECT query which returns rows which this relation should contain.
Returns
  • (::String) — The SELECT query which returns rows which this relation should contain.

#tags

def tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — Arbitrary, user-defined tags on this action.

#tags=

def tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Arbitrary, user-defined tags on this action.
Returns
  • (::Array<::String>) — Arbitrary, user-defined tags on this action.