Package io.substrait.proto
Interface PlanOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Plan,Plan.Builder
public interface PlanOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionadditional extensions associated with this plan.additional extensions associated with this plan.getExpectedTypeUrls(int index) A list of com.google.Any entities that this plan may use.com.google.protobuf.ByteStringgetExpectedTypeUrlsBytes(int index) A list of com.google.Any entities that this plan may use.intA list of com.google.Any entities that this plan may use.A list of com.google.Any entities that this plan may use.getExtensions(int index) a list of extensions this plan may depend oninta list of extensions this plan may depend ona list of extensions this plan may depend ongetExtensionsOrBuilder(int index) a list of extensions this plan may depend onList<? extends SimpleExtensionDeclarationOrBuilder>a list of extensions this plan may depend ongetExtensionUris(int index) a list of yaml specifications this plan may depend oninta list of yaml specifications this plan may depend ona list of yaml specifications this plan may depend ongetExtensionUrisOrBuilder(int index) a list of yaml specifications this plan may depend onList<? extends SimpleExtensionURIOrBuilder>a list of yaml specifications this plan may depend ongetParameterBindings(int index) An optional list of bindings for dynamic parameters used in this plan.intAn optional list of bindings for dynamic parameters used in this plan.An optional list of bindings for dynamic parameters used in this plan.getParameterBindingsOrBuilder(int index) An optional list of bindings for dynamic parameters used in this plan.List<? extends DynamicParameterBindingOrBuilder>An optional list of bindings for dynamic parameters used in this plan.getRelations(int index) one or more relation trees that are associated with this plan.intone or more relation trees that are associated with this plan.one or more relation trees that are associated with this plan.getRelationsOrBuilder(int index) one or more relation trees that are associated with this plan.List<? extends PlanRelOrBuilder>one or more relation trees that are associated with this plan.Substrait version of the plan.Substrait version of the plan.booleanadditional extensions associated with this plan.booleanSubstrait version of the plan.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
-
hasVersion
boolean hasVersion()Substrait version of the plan. Optional up to 0.17.0, required for later versions.
.substrait.Version version = 6;- Returns:
- Whether the version field is set.
-
getVersion
Version getVersion()Substrait version of the plan. Optional up to 0.17.0, required for later versions.
.substrait.Version version = 6;- Returns:
- The version.
-
getVersionOrBuilder
VersionOrBuilder getVersionOrBuilder()Substrait version of the plan. Optional up to 0.17.0, required for later versions.
.substrait.Version version = 6; -
getExtensionUrisList
List<SimpleExtensionURI> getExtensionUrisList()a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1; -
getExtensionUris
a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1; -
getExtensionUrisCount
int getExtensionUrisCount()a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1; -
getExtensionUrisOrBuilderList
List<? extends SimpleExtensionURIOrBuilder> getExtensionUrisOrBuilderList()a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1; -
getExtensionUrisOrBuilder
a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1; -
getExtensionsList
List<SimpleExtensionDeclaration> getExtensionsList()a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2; -
getExtensions
a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2; -
getExtensionsCount
int getExtensionsCount()a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2; -
getExtensionsOrBuilderList
List<? extends SimpleExtensionDeclarationOrBuilder> getExtensionsOrBuilderList()a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2; -
getExtensionsOrBuilder
a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2; -
getRelationsList
one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3; -
getRelations
one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3; -
getRelationsCount
int getRelationsCount()one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3; -
getRelationsOrBuilderList
List<? extends PlanRelOrBuilder> getRelationsOrBuilderList()one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3; -
getRelationsOrBuilder
one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3; -
hasAdvancedExtensions
boolean hasAdvancedExtensions()additional extensions associated with this plan.
.substrait.extensions.AdvancedExtension advanced_extensions = 4;- Returns:
- Whether the advancedExtensions field is set.
-
getAdvancedExtensions
AdvancedExtension getAdvancedExtensions()additional extensions associated with this plan.
.substrait.extensions.AdvancedExtension advanced_extensions = 4;- Returns:
- The advancedExtensions.
-
getAdvancedExtensionsOrBuilder
AdvancedExtensionOrBuilder getAdvancedExtensionsOrBuilder()additional extensions associated with this plan.
.substrait.extensions.AdvancedExtension advanced_extensions = 4; -
getExpectedTypeUrlsList
A list of com.google.Any entities that this plan may use. Can be used to warn if some embedded message types are unknown. Note that this list may include message types that are ignorable (optimizations) or that are unused. In many cases, a consumer may be able to work with a plan even if one or more message types defined here are unknown.
repeated string expected_type_urls = 5;- Returns:
- A list containing the expectedTypeUrls.
-
getExpectedTypeUrlsCount
int getExpectedTypeUrlsCount()A list of com.google.Any entities that this plan may use. Can be used to warn if some embedded message types are unknown. Note that this list may include message types that are ignorable (optimizations) or that are unused. In many cases, a consumer may be able to work with a plan even if one or more message types defined here are unknown.
repeated string expected_type_urls = 5;- Returns:
- The count of expectedTypeUrls.
-
getExpectedTypeUrls
A list of com.google.Any entities that this plan may use. Can be used to warn if some embedded message types are unknown. Note that this list may include message types that are ignorable (optimizations) or that are unused. In many cases, a consumer may be able to work with a plan even if one or more message types defined here are unknown.
repeated string expected_type_urls = 5;- Parameters:
index- The index of the element to return.- Returns:
- The expectedTypeUrls at the given index.
-
getExpectedTypeUrlsBytes
com.google.protobuf.ByteString getExpectedTypeUrlsBytes(int index) A list of com.google.Any entities that this plan may use. Can be used to warn if some embedded message types are unknown. Note that this list may include message types that are ignorable (optimizations) or that are unused. In many cases, a consumer may be able to work with a plan even if one or more message types defined here are unknown.
repeated string expected_type_urls = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the expectedTypeUrls at the given index.
-
getParameterBindingsList
List<DynamicParameterBinding> getParameterBindingsList()An optional list of bindings for dynamic parameters used in this plan. Each binding maps a parameter_anchor to its corresponding runtime value.
repeated .substrait.DynamicParameterBinding parameter_bindings = 7; -
getParameterBindings
An optional list of bindings for dynamic parameters used in this plan. Each binding maps a parameter_anchor to its corresponding runtime value.
repeated .substrait.DynamicParameterBinding parameter_bindings = 7; -
getParameterBindingsCount
int getParameterBindingsCount()An optional list of bindings for dynamic parameters used in this plan. Each binding maps a parameter_anchor to its corresponding runtime value.
repeated .substrait.DynamicParameterBinding parameter_bindings = 7; -
getParameterBindingsOrBuilderList
List<? extends DynamicParameterBindingOrBuilder> getParameterBindingsOrBuilderList()An optional list of bindings for dynamic parameters used in this plan. Each binding maps a parameter_anchor to its corresponding runtime value.
repeated .substrait.DynamicParameterBinding parameter_bindings = 7; -
getParameterBindingsOrBuilder
An optional list of bindings for dynamic parameters used in this plan. Each binding maps a parameter_anchor to its corresponding runtime value.
repeated .substrait.DynamicParameterBinding parameter_bindings = 7;
-