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
- (::Array<::Google::Cloud::Dataform::V1beta1::Target>) — A list of actions that this action depends on.
#dependency_targets=
def dependency_targets=(value) -> ::Array<::Google::Cloud::Dataform::V1beta1::Target>
Parameter
- value (::Array<::Google::Cloud::Dataform::V1beta1::Target>) — A list of actions that this action depends on.
Returns
- (::Array<::Google::Cloud::Dataform::V1beta1::Target>) — A list of actions that this action depends on.
#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
-
(::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig) — Configures
INCREMENTAL_TABLE
settings for this relation. Only set ifrelation_type
isINCREMENTAL_TABLE
.
#incremental_table_config=
def incremental_table_config=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig
Parameter
-
value (::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig) — Configures
INCREMENTAL_TABLE
settings for this relation. Only set ifrelation_type
isINCREMENTAL_TABLE
.
Returns
-
(::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::IncrementalTableConfig) — Configures
INCREMENTAL_TABLE
settings for this relation. Only set ifrelation_type
isINCREMENTAL_TABLE
.
#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
- (::Google::Cloud::Dataform::V1beta1::RelationDescriptor) — Descriptor for the relation and its columns.
#relation_descriptor=
def relation_descriptor=(value) -> ::Google::Cloud::Dataform::V1beta1::RelationDescriptor
Parameter
- value (::Google::Cloud::Dataform::V1beta1::RelationDescriptor) — Descriptor for the relation and its columns.
Returns
- (::Google::Cloud::Dataform::V1beta1::RelationDescriptor) — Descriptor for the relation and its columns.
#relation_type
def relation_type() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType
Returns
- (::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType) — The type of this relation.
#relation_type=
def relation_type=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType
Parameter
- value (::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType) — The type of this relation.
Returns
- (::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation::RelationType) — The type of this relation.
#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.