Package io.substrait.proto
Interface VersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
public interface VersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf a particular version of Substrait is used that does not correspond to a version number exactly (for example when using an unofficial fork or using a version that is not yet released or is between versions), set this to the full git hash of the utilized commit of https://github.com/substrait-io/substrait (or fork thereof), represented using a lowercase hex ASCII string 40 characters in length.com.google.protobuf.ByteStringIf a particular version of Substrait is used that does not correspond to a version number exactly (for example when using an unofficial fork or using a version that is not yet released or is between versions), set this to the full git hash of the utilized commit of https://github.com/substrait-io/substrait (or fork thereof), represented using a lowercase hex ASCII string 40 characters in length.intSubstrait version number.intuint32 minor_number = 2;intuint32 patch_number = 3;Identifying information for the producer that created this plan.com.google.protobuf.ByteStringIdentifying information for the producer that created this 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
-
getMajorNumber
int getMajorNumber()Substrait version number.
uint32 major_number = 1;- Returns:
- The majorNumber.
-
getMinorNumber
int getMinorNumber()uint32 minor_number = 2;- Returns:
- The minorNumber.
-
getPatchNumber
int getPatchNumber()uint32 patch_number = 3;- Returns:
- The patchNumber.
-
getGitHash
String getGitHash()If a particular version of Substrait is used that does not correspond to a version number exactly (for example when using an unofficial fork or using a version that is not yet released or is between versions), set this to the full git hash of the utilized commit of https://github.com/substrait-io/substrait (or fork thereof), represented using a lowercase hex ASCII string 40 characters in length. The version number above should be set to the most recent version tag in the history of that commit.
string git_hash = 4;- Returns:
- The gitHash.
-
getGitHashBytes
com.google.protobuf.ByteString getGitHashBytes()If a particular version of Substrait is used that does not correspond to a version number exactly (for example when using an unofficial fork or using a version that is not yet released or is between versions), set this to the full git hash of the utilized commit of https://github.com/substrait-io/substrait (or fork thereof), represented using a lowercase hex ASCII string 40 characters in length. The version number above should be set to the most recent version tag in the history of that commit.
string git_hash = 4;- Returns:
- The bytes for gitHash.
-
getProducer
String getProducer()Identifying information for the producer that created this plan. Under ideal circumstances, consumers should not need this information. However, it is foreseen that consumers may need to work around bugs in particular producers in practice, and therefore may need to know which producer created the plan.
string producer = 5;- Returns:
- The producer.
-
getProducerBytes
com.google.protobuf.ByteString getProducerBytes()Identifying information for the producer that created this plan. Under ideal circumstances, consumers should not need this information. However, it is foreseen that consumers may need to work around bugs in particular producers in practice, and therefore may need to know which producer created the plan.
string producer = 5;- Returns:
- The bytes for producer.
-