Reference documentation and code samples for the Google Cloud Dataform V1 Client class Relation.
Represents a database relation.
Generated from protobuf message google.cloud.dataform.v1.CompilationResultAction.Relation
Namespace
Google \ Cloud \ Dataform \ V1 \ CompilationResultActionMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ dependency_targets
↳ disabled
bool
Whether this action is disabled (i.e. should not be run).
↳ tags
array
Arbitrary, user-defined tags on this action.
↳ relation_descriptor
↳ relation_type
int
The type of this relation.
↳ select_query
string
The SELECT query which returns rows which this relation should contain.
↳ pre_operations
array
SQL statements to be executed before creating the relation.
↳ post_operations
array
SQL statements to be executed after creating the relation.
↳ incremental_table_config
Relation\IncrementalTableConfig
Configures INCREMENTAL_TABLE
settings for this relation. Only set if relation_type
is INCREMENTAL_TABLE
.
↳ partition_expression
string
The SQL expression used to partition the relation.
↳ cluster_expressions
array
A list of columns or SQL expressions used to cluster the table.
↳ partition_expiration_days
int
Sets the partition expiration in days.
↳ require_partition_filter
bool
Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
↳ additional_options
array| Google\Protobuf\Internal\MapField
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.
getDependencyTargets
A list of actions that this action depends on.
setDependencyTargets
A list of actions that this action depends on.
$this
getDisabled
Whether this action is disabled (i.e. should not be run).
bool
setDisabled
Whether this action is disabled (i.e. should not be run).
var
bool
$this
getTags
Arbitrary, user-defined tags on this action.
setTags
Arbitrary, user-defined tags on this action.
var
string[]
$this
getRelationDescriptor
Descriptor for the relation and its columns.
hasRelationDescriptor
clearRelationDescriptor
setRelationDescriptor
Descriptor for the relation and its columns.
$this
getRelationType
The type of this relation.
int
setRelationType
The type of this relation.
var
int
$this
getSelectQuery
The SELECT query which returns rows which this relation should contain.
string
setSelectQuery
The SELECT query which returns rows which this relation should contain.
var
string
$this
getPreOperations
SQL statements to be executed before creating the relation.
setPreOperations
SQL statements to be executed before creating the relation.
var
string[]
$this
getPostOperations
SQL statements to be executed after creating the relation.
setPostOperations
SQL statements to be executed after creating the relation.
var
string[]
$this
getIncrementalTableConfig
Configures INCREMENTAL_TABLE
settings for this relation. Only set if relation_type
is INCREMENTAL_TABLE
.
hasIncrementalTableConfig
clearIncrementalTableConfig
setIncrementalTableConfig
Configures INCREMENTAL_TABLE
settings for this relation. Only set if relation_type
is INCREMENTAL_TABLE
.
$this
getPartitionExpression
The SQL expression used to partition the relation.
string
setPartitionExpression
The SQL expression used to partition the relation.
var
string
$this
getClusterExpressions
A list of columns or SQL expressions used to cluster the table.
setClusterExpressions
A list of columns or SQL expressions used to cluster the table.
var
string[]
$this
getPartitionExpirationDays
Sets the partition expiration in days.
int
setPartitionExpirationDays
Sets the partition expiration in days.
var
int
$this
getRequirePartitionFilter
Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
bool
setRequirePartitionFilter
Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
var
bool
$this
getAdditionalOptions
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.
setAdditionalOptions
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.
$this