Class ExtendedExpression

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.ExtendedExpression
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExtendedExpressionOrBuilder, Serializable

public final class ExtendedExpression extends com.google.protobuf.GeneratedMessageV3 implements ExtendedExpressionOrBuilder
 Describe a set of operations to complete.
 For compactness sake, identifiers are normalized at the plan level.
 
Protobuf type substrait.ExtendedExpression
See Also:
  • 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:
    • REFERRED_EXPR_FIELD_NUMBER

      public static final int REFERRED_EXPR_FIELD_NUMBER
      See Also:
    • BASE_SCHEMA_FIELD_NUMBER

      public static final int BASE_SCHEMA_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:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasVersion

      public boolean hasVersion()
       Substrait version of the expression. Optional up to 0.17.0, required for later
       versions.
       
      .substrait.Version version = 7;
      Specified by:
      hasVersion in interface ExtendedExpressionOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public Version getVersion()
       Substrait version of the expression. Optional up to 0.17.0, required for later
       versions.
       
      .substrait.Version version = 7;
      Specified by:
      getVersion in interface ExtendedExpressionOrBuilder
      Returns:
      The version.
    • getVersionOrBuilder

      public VersionOrBuilder getVersionOrBuilder()
       Substrait version of the expression. Optional up to 0.17.0, required for later
       versions.
       
      .substrait.Version version = 7;
      Specified by:
      getVersionOrBuilder in interface ExtendedExpressionOrBuilder
    • getExtensionUrisList

      public List<SimpleExtensionURI> getExtensionUrisList()
       a list of yaml specifications this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;
      Specified by:
      getExtensionUrisList in interface ExtendedExpressionOrBuilder
    • getExtensionUrisOrBuilderList

      public List<? extends SimpleExtensionURIOrBuilder> getExtensionUrisOrBuilderList()
       a list of yaml specifications this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;
      Specified by:
      getExtensionUrisOrBuilderList in interface ExtendedExpressionOrBuilder
    • getExtensionUrisCount

      public int getExtensionUrisCount()
       a list of yaml specifications this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;
      Specified by:
      getExtensionUrisCount in interface ExtendedExpressionOrBuilder
    • getExtensionUris

      public SimpleExtensionURI getExtensionUris(int index)
       a list of yaml specifications this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;
      Specified by:
      getExtensionUris in interface ExtendedExpressionOrBuilder
    • getExtensionUrisOrBuilder

      public SimpleExtensionURIOrBuilder getExtensionUrisOrBuilder(int index)
       a list of yaml specifications this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionURI extension_uris = 1;
      Specified by:
      getExtensionUrisOrBuilder in interface ExtendedExpressionOrBuilder
    • getExtensionsList

      public List<SimpleExtensionDeclaration> getExtensionsList()
       a list of extensions this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;
      Specified by:
      getExtensionsList in interface ExtendedExpressionOrBuilder
    • getExtensionsOrBuilderList

      public List<? extends SimpleExtensionDeclarationOrBuilder> getExtensionsOrBuilderList()
       a list of extensions this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;
      Specified by:
      getExtensionsOrBuilderList in interface ExtendedExpressionOrBuilder
    • getExtensionsCount

      public int getExtensionsCount()
       a list of extensions this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;
      Specified by:
      getExtensionsCount in interface ExtendedExpressionOrBuilder
    • getExtensions

      public SimpleExtensionDeclaration getExtensions(int index)
       a list of extensions this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;
      Specified by:
      getExtensions in interface ExtendedExpressionOrBuilder
    • getExtensionsOrBuilder

      public SimpleExtensionDeclarationOrBuilder getExtensionsOrBuilder(int index)
       a list of extensions this expression may depend on
       
      repeated .substrait.extensions.SimpleExtensionDeclaration extensions = 2;
      Specified by:
      getExtensionsOrBuilder in interface ExtendedExpressionOrBuilder
    • getReferredExprList

      public List<ExpressionReference> getReferredExprList()
       one or more expression trees with same order in plan rel
       
      repeated .substrait.ExpressionReference referred_expr = 3;
      Specified by:
      getReferredExprList in interface ExtendedExpressionOrBuilder
    • getReferredExprOrBuilderList

      public List<? extends ExpressionReferenceOrBuilder> getReferredExprOrBuilderList()
       one or more expression trees with same order in plan rel
       
      repeated .substrait.ExpressionReference referred_expr = 3;
      Specified by:
      getReferredExprOrBuilderList in interface ExtendedExpressionOrBuilder
    • getReferredExprCount

      public int getReferredExprCount()
       one or more expression trees with same order in plan rel
       
      repeated .substrait.ExpressionReference referred_expr = 3;
      Specified by:
      getReferredExprCount in interface ExtendedExpressionOrBuilder
    • getReferredExpr

      public ExpressionReference getReferredExpr(int index)
       one or more expression trees with same order in plan rel
       
      repeated .substrait.ExpressionReference referred_expr = 3;
      Specified by:
      getReferredExpr in interface ExtendedExpressionOrBuilder
    • getReferredExprOrBuilder

      public ExpressionReferenceOrBuilder getReferredExprOrBuilder(int index)
       one or more expression trees with same order in plan rel
       
      repeated .substrait.ExpressionReference referred_expr = 3;
      Specified by:
      getReferredExprOrBuilder in interface ExtendedExpressionOrBuilder
    • hasBaseSchema

      public boolean hasBaseSchema()
      .substrait.NamedStruct base_schema = 4;
      Specified by:
      hasBaseSchema in interface ExtendedExpressionOrBuilder
      Returns:
      Whether the baseSchema field is set.
    • getBaseSchema

      public NamedStruct getBaseSchema()
      .substrait.NamedStruct base_schema = 4;
      Specified by:
      getBaseSchema in interface ExtendedExpressionOrBuilder
      Returns:
      The baseSchema.
    • getBaseSchemaOrBuilder

      public NamedStructOrBuilder getBaseSchemaOrBuilder()
      .substrait.NamedStruct base_schema = 4;
      Specified by:
      getBaseSchemaOrBuilder in interface ExtendedExpressionOrBuilder
    • hasAdvancedExtensions

      public boolean hasAdvancedExtensions()
       additional extensions associated with this expression.
       
      .substrait.extensions.AdvancedExtension advanced_extensions = 5;
      Specified by:
      hasAdvancedExtensions in interface ExtendedExpressionOrBuilder
      Returns:
      Whether the advancedExtensions field is set.
    • getAdvancedExtensions

      public AdvancedExtension getAdvancedExtensions()
       additional extensions associated with this expression.
       
      .substrait.extensions.AdvancedExtension advanced_extensions = 5;
      Specified by:
      getAdvancedExtensions in interface ExtendedExpressionOrBuilder
      Returns:
      The advancedExtensions.
    • getAdvancedExtensionsOrBuilder

      public AdvancedExtensionOrBuilder getAdvancedExtensionsOrBuilder()
       additional extensions associated with this expression.
       
      .substrait.extensions.AdvancedExtension advanced_extensions = 5;
      Specified by:
      getAdvancedExtensionsOrBuilder in interface ExtendedExpressionOrBuilder
    • 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 = 6;
      Specified by:
      getExpectedTypeUrlsList in interface ExtendedExpressionOrBuilder
      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 = 6;
      Specified by:
      getExpectedTypeUrlsCount in interface ExtendedExpressionOrBuilder
      Returns:
      The count of expectedTypeUrls.
    • getExpectedTypeUrls

      public String getExpectedTypeUrls(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 = 6;
      Specified by:
      getExpectedTypeUrls in interface ExtendedExpressionOrBuilder
      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 = 6;
      Specified by:
      getExpectedTypeUrlsBytes in interface ExtendedExpressionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the expectedTypeUrls at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ExtendedExpression parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExtendedExpression parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExtendedExpression parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExtendedExpression parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExtendedExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExtendedExpression parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExtendedExpression parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExtendedExpression parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExtendedExpression parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExtendedExpression parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExtendedExpression parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExtendedExpression parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ExtendedExpression.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ExtendedExpression.Builder newBuilder()
    • newBuilder

      public static ExtendedExpression.Builder newBuilder(ExtendedExpression prototype)
    • toBuilder

      public ExtendedExpression.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ExtendedExpression.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ExtendedExpression getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ExtendedExpression> parser()
    • getParserForType

      public com.google.protobuf.Parser<ExtendedExpression> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ExtendedExpression getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder