Package io.substrait.proto
Interface WriteRelOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WriteRel,WriteRel.Builder
public interface WriteRelOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.substrait.extensions.AdvancedExtension advanced_extension = 9;.substrait.extensions.AdvancedExtension advanced_extension = 9;.substrait.RelCommon common = 7;.substrait.RelCommon common = 7;Used with CTAS to determine what to do if the table already existsintUsed with CTAS to determine what to do if the table already exists.substrait.ExtensionObject extension_table = 2;.substrait.ExtensionObject extension_table = 2;getInput()The relation that determines the records to add/remove/modify the schema must match with table_schema.The relation that determines the records to add/remove/modify the schema must match with table_schema..substrait.NamedObjectWrite named_table = 1;.substrait.NamedObjectWrite named_table = 1;getOp()The type of operation to performintThe type of operation to performOutput mode determines what is the output of executing this relintOutput mode determines what is the output of executing this relThe schema of the table (must align with Rel input (e.g., number of leaf fields must match))The schema of the table (must align with Rel input (e.g., number of leaf fields must match))boolean.substrait.extensions.AdvancedExtension advanced_extension = 9;boolean.substrait.RelCommon common = 7;boolean.substrait.ExtensionObject extension_table = 2;booleanhasInput()The relation that determines the records to add/remove/modify the schema must match with table_schema.boolean.substrait.NamedObjectWrite named_table = 1;booleanThe schema of the table (must align with Rel input (e.g., number of leaf fields must match))Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasNamedTable
boolean hasNamedTable().substrait.NamedObjectWrite named_table = 1;- Returns:
- Whether the namedTable field is set.
-
getNamedTable
NamedObjectWrite getNamedTable().substrait.NamedObjectWrite named_table = 1;- Returns:
- The namedTable.
-
getNamedTableOrBuilder
NamedObjectWriteOrBuilder getNamedTableOrBuilder().substrait.NamedObjectWrite named_table = 1; -
hasExtensionTable
boolean hasExtensionTable().substrait.ExtensionObject extension_table = 2;- Returns:
- Whether the extensionTable field is set.
-
getExtensionTable
ExtensionObject getExtensionTable().substrait.ExtensionObject extension_table = 2;- Returns:
- The extensionTable.
-
getExtensionTableOrBuilder
ExtensionObjectOrBuilder getExtensionTableOrBuilder().substrait.ExtensionObject extension_table = 2; -
hasTableSchema
boolean hasTableSchema()The schema of the table (must align with Rel input (e.g., number of leaf fields must match))
.substrait.NamedStruct table_schema = 3;- Returns:
- Whether the tableSchema field is set.
-
getTableSchema
NamedStruct getTableSchema()The schema of the table (must align with Rel input (e.g., number of leaf fields must match))
.substrait.NamedStruct table_schema = 3;- Returns:
- The tableSchema.
-
getTableSchemaOrBuilder
NamedStructOrBuilder getTableSchemaOrBuilder()The schema of the table (must align with Rel input (e.g., number of leaf fields must match))
.substrait.NamedStruct table_schema = 3; -
getOpValue
int getOpValue()The type of operation to perform
.substrait.WriteRel.WriteOp op = 4;- Returns:
- The enum numeric value on the wire for op.
-
getOp
WriteRel.WriteOp getOp()The type of operation to perform
.substrait.WriteRel.WriteOp op = 4;- Returns:
- The op.
-
hasInput
boolean hasInput()The relation that determines the records to add/remove/modify the schema must match with table_schema. Default values must be explicitly stated in a ProjectRel at the top of the input. The match must also occur in case of DELETE to ensure multi-engine plans are unequivocal.
.substrait.Rel input = 5;- Returns:
- Whether the input field is set.
-
getInput
Rel getInput()The relation that determines the records to add/remove/modify the schema must match with table_schema. Default values must be explicitly stated in a ProjectRel at the top of the input. The match must also occur in case of DELETE to ensure multi-engine plans are unequivocal.
.substrait.Rel input = 5;- Returns:
- The input.
-
getInputOrBuilder
RelOrBuilder getInputOrBuilder()The relation that determines the records to add/remove/modify the schema must match with table_schema. Default values must be explicitly stated in a ProjectRel at the top of the input. The match must also occur in case of DELETE to ensure multi-engine plans are unequivocal.
.substrait.Rel input = 5; -
getCreateModeValue
int getCreateModeValue()Used with CTAS to determine what to do if the table already exists
.substrait.WriteRel.CreateMode create_mode = 8;- Returns:
- The enum numeric value on the wire for createMode.
-
getCreateMode
WriteRel.CreateMode getCreateMode()Used with CTAS to determine what to do if the table already exists
.substrait.WriteRel.CreateMode create_mode = 8;- Returns:
- The createMode.
-
getOutputValue
int getOutputValue()Output mode determines what is the output of executing this rel
.substrait.WriteRel.OutputMode output = 6;- Returns:
- The enum numeric value on the wire for output.
-
getOutput
WriteRel.OutputMode getOutput()Output mode determines what is the output of executing this rel
.substrait.WriteRel.OutputMode output = 6;- Returns:
- The output.
-
hasCommon
boolean hasCommon().substrait.RelCommon common = 7;- Returns:
- Whether the common field is set.
-
getCommon
RelCommon getCommon().substrait.RelCommon common = 7;- Returns:
- The common.
-
getCommonOrBuilder
RelCommonOrBuilder getCommonOrBuilder().substrait.RelCommon common = 7; -
hasAdvancedExtension
boolean hasAdvancedExtension().substrait.extensions.AdvancedExtension advanced_extension = 9;- Returns:
- Whether the advancedExtension field is set.
-
getAdvancedExtension
AdvancedExtension getAdvancedExtension().substrait.extensions.AdvancedExtension advanced_extension = 9;- Returns:
- The advancedExtension.
-
getAdvancedExtensionOrBuilder
AdvancedExtensionOrBuilder getAdvancedExtensionOrBuilder().substrait.extensions.AdvancedExtension advanced_extension = 9; -
getWriteTypeCase
WriteRel.WriteTypeCase getWriteTypeCase()
-