Package io.substrait.proto
Class Plan
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Plan
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanOrBuilder,Serializable
Describe a set of operations to complete. For compactness sake, identifiers are normalized at the plan level.Protobuf type
substrait.Plan- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribe a set of operations to complete.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanadditional extensions associated with this plan.additional extensions associated with this plan.static Planstatic final com.google.protobuf.Descriptors.DescriptorgetExpectedTypeUrls(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.com.google.protobuf.ProtocolStringListA 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.com.google.protobuf.Parser<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.intSubstrait version of the plan.Substrait version of the plan.booleanadditional extensions associated with this plan.inthashCode()booleanSubstrait version of the plan.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Plan.Builderstatic Plan.BuildernewBuilder(Plan prototype) protected Plan.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PlanparseDelimitedFrom(InputStream input) static PlanparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlanparseFrom(byte[] data) static PlanparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlanparseFrom(com.google.protobuf.ByteString data) static PlanparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlanparseFrom(com.google.protobuf.CodedInputStream input) static PlanparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlanparseFrom(InputStream input) static PlanparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlanparseFrom(ByteBuffer data) static PlanparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Plan>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
EXTENSION_URIS_FIELD_NUMBER
public static final int EXTENSION_URIS_FIELD_NUMBER- See Also:
-
EXTENSIONS_FIELD_NUMBER
public static final int EXTENSIONS_FIELD_NUMBER- See Also:
-
RELATIONS_FIELD_NUMBER
public static final int RELATIONS_FIELD_NUMBER- See Also:
-
ADVANCED_EXTENSIONS_FIELD_NUMBER
public static final int ADVANCED_EXTENSIONS_FIELD_NUMBER- See Also:
-
EXPECTED_TYPE_URLS_FIELD_NUMBER
public static final int EXPECTED_TYPE_URLS_FIELD_NUMBER- See Also:
-
PARAMETER_BINDINGS_FIELD_NUMBER
public static final int PARAMETER_BINDINGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasVersion
public boolean hasVersion()Substrait version of the plan. Optional up to 0.17.0, required for later versions.
.substrait.Version version = 6;- Specified by:
hasVersionin interfacePlanOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Substrait version of the plan. Optional up to 0.17.0, required for later versions.
.substrait.Version version = 6;- Specified by:
getVersionin interfacePlanOrBuilder- Returns:
- The version.
-
getVersionOrBuilder
Substrait version of the plan. Optional up to 0.17.0, required for later versions.
.substrait.Version version = 6;- Specified by:
getVersionOrBuilderin interfacePlanOrBuilder
-
getExtensionUrisList
a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;- Specified by:
getExtensionUrisListin interfacePlanOrBuilder
-
getExtensionUrisOrBuilderList
a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;- Specified by:
getExtensionUrisOrBuilderListin interfacePlanOrBuilder
-
getExtensionUrisCount
public int getExtensionUrisCount()a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;- Specified by:
getExtensionUrisCountin interfacePlanOrBuilder
-
getExtensionUris
a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;- Specified by:
getExtensionUrisin interfacePlanOrBuilder
-
getExtensionUrisOrBuilder
a list of yaml specifications this plan may depend on
repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;- Specified by:
getExtensionUrisOrBuilderin interfacePlanOrBuilder
-
getExtensionsList
a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;- Specified by:
getExtensionsListin interfacePlanOrBuilder
-
getExtensionsOrBuilderList
a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;- Specified by:
getExtensionsOrBuilderListin interfacePlanOrBuilder
-
getExtensionsCount
public int getExtensionsCount()a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;- Specified by:
getExtensionsCountin interfacePlanOrBuilder
-
getExtensions
a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;- Specified by:
getExtensionsin interfacePlanOrBuilder
-
getExtensionsOrBuilder
a list of extensions this plan may depend on
repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;- Specified by:
getExtensionsOrBuilderin interfacePlanOrBuilder
-
getRelationsList
one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3;- Specified by:
getRelationsListin interfacePlanOrBuilder
-
getRelationsOrBuilderList
one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3;- Specified by:
getRelationsOrBuilderListin interfacePlanOrBuilder
-
getRelationsCount
public int getRelationsCount()one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3;- Specified by:
getRelationsCountin interfacePlanOrBuilder
-
getRelations
one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3;- Specified by:
getRelationsin interfacePlanOrBuilder
-
getRelationsOrBuilder
one or more relation trees that are associated with this plan.
repeated .substrait.PlanRel relations = 3;- Specified by:
getRelationsOrBuilderin interfacePlanOrBuilder
-
hasAdvancedExtensions
public boolean hasAdvancedExtensions()additional extensions associated with this plan.
.substrait.extensions.AdvancedExtension advanced_extensions = 4;- Specified by:
hasAdvancedExtensionsin interfacePlanOrBuilder- Returns:
- Whether the advancedExtensions field is set.
-
getAdvancedExtensions
additional extensions associated with this plan.
.substrait.extensions.AdvancedExtension advanced_extensions = 4;- Specified by:
getAdvancedExtensionsin interfacePlanOrBuilder- Returns:
- The advancedExtensions.
-
getAdvancedExtensionsOrBuilder
additional extensions associated with this plan.
.substrait.extensions.AdvancedExtension advanced_extensions = 4;- Specified by:
getAdvancedExtensionsOrBuilderin interfacePlanOrBuilder
-
getExpectedTypeUrlsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getExpectedTypeUrlsListin interfacePlanOrBuilder- Returns:
- A list containing the expectedTypeUrls.
-
getExpectedTypeUrlsCount
public 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;- Specified by:
getExpectedTypeUrlsCountin interfacePlanOrBuilder- 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;- Specified by:
getExpectedTypeUrlsin interfacePlanOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The expectedTypeUrls at the given index.
-
getExpectedTypeUrlsBytes
public 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;- Specified by:
getExpectedTypeUrlsBytesin interfacePlanOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the expectedTypeUrls at the given index.
-
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;- Specified by:
getParameterBindingsListin interfacePlanOrBuilder
-
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;- Specified by:
getParameterBindingsOrBuilderListin interfacePlanOrBuilder
-
getParameterBindingsCount
public 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;- Specified by:
getParameterBindingsCountin interfacePlanOrBuilder
-
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;- Specified by:
getParameterBindingsin interfacePlanOrBuilder
-
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;- Specified by:
getParameterBindingsOrBuilderin interfacePlanOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Plan parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Plan parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Plan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Plan parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Plan parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Plan parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Plan parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Plan parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Plan.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-