Relation class

Represents a database relation.

Constructors

Relation({Map<String, String>? additionalOptions, List<String>? clusterExpressions, String? connection, List<Target>? dependencyTargets, bool? disabled, String? fileFormat, IncrementalTableConfig? incrementalTableConfig, int? partitionExpirationDays, String? partitionExpression, List<String>? postOperations, List<String>? preOperations, RelationDescriptor? relationDescriptor, String? relationType, bool? requirePartitionFilter, String? selectQuery, String? storageUri, String? tableFormat, List<String>? tags})
Relation.fromJson(Map json_)

Properties

additionalOptions Map<String, String>?
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.
getter/setter pair
clusterExpressions List<String>?
A list of columns or SQL expressions used to cluster the table.
getter/setter pair
connection String?
The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage.
getter/setter pair
dependencyTargets List<Target>?
A list of actions that this action depends on.
getter/setter pair
disabled bool?
Whether this action is disabled (i.e. should not be run).
getter/setter pair
fileFormat String?
The file format for the BigQuery table.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
incrementalTableConfig IncrementalTableConfig?
Configures INCREMENTAL_TABLE settings for this relation.
getter/setter pair
partitionExpirationDays int?
Sets the partition expiration in days.
getter/setter pair
partitionExpression String?
The SQL expression used to partition the relation.
getter/setter pair
postOperations List<String>?
SQL statements to be executed after creating the relation.
getter/setter pair
preOperations List<String>?
SQL statements to be executed before creating the relation.
getter/setter pair
relationDescriptor RelationDescriptor?
Descriptor for the relation and its columns.
getter/setter pair
relationType String?
The type of this relation. Possible string values are:
getter/setter pair
requirePartitionFilter bool?
Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectQuery String?
The SELECT query which returns rows which this relation should contain.
getter/setter pair
storageUri String?
The fully qualified location prefix of the external folder where table data is stored.
getter/setter pair
tableFormat String?
The table format for the BigQuery table.
getter/setter pair
tags List<String>?
Arbitrary, user-defined tags on this action.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited