public static final class CompilationResultAction.Relation extends GeneratedMessageV3 implements CompilationResultAction.RelationOrBuilder
Represents a database relation.
Protobuf type google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
Static Fields
public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER
Field Value
public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER
Field Value
public static final int DEPENDENCY_TARGETS_FIELD_NUMBER
Field Value
public static final int DISABLED_FIELD_NUMBER
Field Value
public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
Field Value
public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
Field Value
public static final int PARTITION_EXPRESSION_FIELD_NUMBER
Field Value
POST_OPERATIONS_FIELD_NUMBER
public static final int POST_OPERATIONS_FIELD_NUMBER
Field Value
public static final int PRE_OPERATIONS_FIELD_NUMBER
Field Value
public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Value
public static final int RELATION_TYPE_FIELD_NUMBER
Field Value
public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER
Field Value
public static final int SELECT_QUERY_FIELD_NUMBER
Field Value
public static final int TAGS_FIELD_NUMBER
Field Value
Static Methods
public static CompilationResultAction.Relation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CompilationResultAction.Relation.Builder newBuilder()
Returns
public static CompilationResultAction.Relation.Builder newBuilder(CompilationResultAction.Relation prototype)
Parameter
Returns
public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CompilationResultAction.Relation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CompilationResultAction.Relation> parser()
Returns
Methods
public boolean containsAdditionalOptions(String key)
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Map<String,String> getAdditionalOptions()
Returns
public int getAdditionalOptionsCount()
Returns
public Map<String,String> getAdditionalOptionsMap()
Returns
public String getAdditionalOptionsOrDefault(String key, String defaultValue)
Parameters
Returns
public String getAdditionalOptionsOrThrow(String key)
Parameter
Returns
public String getClusterExpressions(int index)
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
Parameter
Name |
Description |
index |
int
The index of the element to return.
|
Returns
Type |
Description |
String |
The clusterExpressions at the given index.
|
public ByteString getClusterExpressionsBytes(int index)
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
Parameter
Name |
Description |
index |
int
The index of the value to return.
|
Returns
Type |
Description |
ByteString |
The bytes of the clusterExpressions at the given index.
|
public int getClusterExpressionsCount()
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
Returns
Type |
Description |
int |
The count of clusterExpressions.
|
public ProtocolStringList getClusterExpressionsList()
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
Returns
public CompilationResultAction.Relation getDefaultInstanceForType()
Returns
public Target getDependencyTargets(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Parameter
Name |
Description |
index |
int
|
Returns
public int getDependencyTargetsCount()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returns
public List<Target> getDependencyTargetsList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returns
public TargetOrBuilder getDependencyTargetsOrBuilder(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Parameter
Name |
Description |
index |
int
|
Returns
public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dataform.v1alpha2.TargetOrBuilder> |
|
public boolean getDisabled()
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;
Returns
Type |
Description |
boolean |
The disabled.
|
public CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig()
Configures INCREMENTAL_TABLE
settings for this relation. Only set if
relation_type
is INCREMENTAL_TABLE
.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
Returns
public CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder()
Configures INCREMENTAL_TABLE
settings for this relation. Only set if
relation_type
is INCREMENTAL_TABLE
.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
Returns
public Parser<CompilationResultAction.Relation> getParserForType()
Returns
Overrides
public int getPartitionExpirationDays()
Sets the partition expiration in days.
int32 partition_expiration_days = 12;
Returns
Type |
Description |
int |
The partitionExpirationDays.
|
public String getPartitionExpression()
The SQL expression used to partition the relation.
string partition_expression = 10;
Returns
Type |
Description |
String |
The partitionExpression.
|
public ByteString getPartitionExpressionBytes()
The SQL expression used to partition the relation.
string partition_expression = 10;
Returns
Type |
Description |
ByteString |
The bytes for partitionExpression.
|
getPostOperations(int index)
public String getPostOperations(int index)
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;
Parameter
Name |
Description |
index |
int
The index of the element to return.
|
Returns
Type |
Description |
String |
The postOperations at the given index.
|
getPostOperationsBytes(int index)
public ByteString getPostOperationsBytes(int index)
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;
Parameter
Name |
Description |
index |
int
The index of the value to return.
|
Returns
Type |
Description |
ByteString |
The bytes of the postOperations at the given index.
|
getPostOperationsCount()
public int getPostOperationsCount()
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;
Returns
Type |
Description |
int |
The count of postOperations.
|
getPostOperationsList()
public ProtocolStringList getPostOperationsList()
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;
Returns
public String getPreOperations(int index)
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
Parameter
Name |
Description |
index |
int
The index of the element to return.
|
Returns
Type |
Description |
String |
The preOperations at the given index.
|
public ByteString getPreOperationsBytes(int index)
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
Parameter
Name |
Description |
index |
int
The index of the value to return.
|
Returns
Type |
Description |
ByteString |
The bytes of the preOperations at the given index.
|
public int getPreOperationsCount()
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
Returns
Type |
Description |
int |
The count of preOperations.
|
public ProtocolStringList getPreOperationsList()
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
Returns
public RelationDescriptor getRelationDescriptor()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
Returns
public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
Returns
public CompilationResultAction.Relation.RelationType getRelationType()
The type of this relation.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5;
Returns
public int getRelationTypeValue()
The type of this relation.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5;
Returns
Type |
Description |
int |
The enum numeric value on the wire for relationType.
|
public boolean getRequirePartitionFilter()
Specifies whether queries on this table must include a predicate filter
that filters on the partitioning column.
bool require_partition_filter = 13;
Returns
Type |
Description |
boolean |
The requirePartitionFilter.
|
public String getSelectQuery()
The SELECT query which returns rows which this relation should contain.
string select_query = 6;
Returns
Type |
Description |
String |
The selectQuery.
|
public ByteString getSelectQueryBytes()
The SELECT query which returns rows which this relation should contain.
string select_query = 6;
Returns
Type |
Description |
ByteString |
The bytes for selectQuery.
|
public int getSerializedSize()
Returns
Overrides
public String getTags(int index)
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Parameter
Name |
Description |
index |
int
The index of the element to return.
|
Returns
Type |
Description |
String |
The tags at the given index.
|
public ByteString getTagsBytes(int index)
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Parameter
Name |
Description |
index |
int
The index of the value to return.
|
Returns
Type |
Description |
ByteString |
The bytes of the tags at the given index.
|
public int getTagsCount()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Returns
Type |
Description |
int |
The count of tags.
|
public ProtocolStringList getTagsList()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasIncrementalTableConfig()
Configures INCREMENTAL_TABLE
settings for this relation. Only set if
relation_type
is INCREMENTAL_TABLE
.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
Returns
Type |
Description |
boolean |
Whether the incrementalTableConfig field is set.
|
public boolean hasRelationDescriptor()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
Returns
Type |
Description |
boolean |
Whether the relationDescriptor field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CompilationResultAction.Relation.Builder newBuilderForType()
Returns
protected CompilationResultAction.Relation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CompilationResultAction.Relation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions