Class UpdateRel

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

public final class UpdateRel extends com.google.protobuf.GeneratedMessageV3 implements UpdateRelOrBuilder
 The operator that modifies the columns of a table
 
Protobuf type substrait.UpdateRel
See Also:
  • Field Details

    • NAMED_TABLE_FIELD_NUMBER

      public static final int NAMED_TABLE_FIELD_NUMBER
      See Also:
    • TABLE_SCHEMA_FIELD_NUMBER

      public static final int TABLE_SCHEMA_FIELD_NUMBER
      See Also:
    • CONDITION_FIELD_NUMBER

      public static final int CONDITION_FIELD_NUMBER
      See Also:
    • TRANSFORMATIONS_FIELD_NUMBER

      public static final int TRANSFORMATIONS_FIELD_NUMBER
      See Also:
    • ADVANCED_EXTENSION_FIELD_NUMBER

      public static final int ADVANCED_EXTENSION_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
    • getUpdateTypeCase

      public UpdateRel.UpdateTypeCase getUpdateTypeCase()
      Specified by:
      getUpdateTypeCase in interface UpdateRelOrBuilder
    • hasNamedTable

      public boolean hasNamedTable()
      .substrait.NamedTable named_table = 1;
      Specified by:
      hasNamedTable in interface UpdateRelOrBuilder
      Returns:
      Whether the namedTable field is set.
    • getNamedTable

      public NamedTable getNamedTable()
      .substrait.NamedTable named_table = 1;
      Specified by:
      getNamedTable in interface UpdateRelOrBuilder
      Returns:
      The namedTable.
    • getNamedTableOrBuilder

      public NamedTableOrBuilder getNamedTableOrBuilder()
      .substrait.NamedTable named_table = 1;
      Specified by:
      getNamedTableOrBuilder in interface UpdateRelOrBuilder
    • hasTableSchema

      public boolean hasTableSchema()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
      Specified by:
      hasTableSchema in interface UpdateRelOrBuilder
      Returns:
      Whether the tableSchema field is set.
    • getTableSchema

      public NamedStruct getTableSchema()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
      Specified by:
      getTableSchema in interface UpdateRelOrBuilder
      Returns:
      The tableSchema.
    • getTableSchemaOrBuilder

      public NamedStructOrBuilder getTableSchemaOrBuilder()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
      Specified by:
      getTableSchemaOrBuilder in interface UpdateRelOrBuilder
    • hasCondition

      public boolean hasCondition()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
      Specified by:
      hasCondition in interface UpdateRelOrBuilder
      Returns:
      Whether the condition field is set.
    • getCondition

      public Expression getCondition()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
      Specified by:
      getCondition in interface UpdateRelOrBuilder
      Returns:
      The condition.
    • getConditionOrBuilder

      public ExpressionOrBuilder getConditionOrBuilder()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
      Specified by:
      getConditionOrBuilder in interface UpdateRelOrBuilder
    • getTransformationsList

      public List<UpdateRel.TransformExpression> getTransformationsList()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsList in interface UpdateRelOrBuilder
    • getTransformationsOrBuilderList

      public List<? extends UpdateRel.TransformExpressionOrBuilder> getTransformationsOrBuilderList()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsOrBuilderList in interface UpdateRelOrBuilder
    • getTransformationsCount

      public int getTransformationsCount()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsCount in interface UpdateRelOrBuilder
    • getTransformations

      public UpdateRel.TransformExpression getTransformations(int index)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformations in interface UpdateRelOrBuilder
    • getTransformationsOrBuilder

      public UpdateRel.TransformExpressionOrBuilder getTransformationsOrBuilder(int index)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsOrBuilder in interface UpdateRelOrBuilder
    • hasAdvancedExtension

      public boolean hasAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
      Specified by:
      hasAdvancedExtension in interface UpdateRelOrBuilder
      Returns:
      Whether the advancedExtension field is set.
    • getAdvancedExtension

      public AdvancedExtension getAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
      Specified by:
      getAdvancedExtension in interface UpdateRelOrBuilder
      Returns:
      The advancedExtension.
    • getAdvancedExtensionOrBuilder

      public AdvancedExtensionOrBuilder getAdvancedExtensionOrBuilder()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
      Specified by:
      getAdvancedExtensionOrBuilder in interface UpdateRelOrBuilder
    • 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 UpdateRel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UpdateRel.Builder newBuilder()
    • newBuilder

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

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

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

      public static UpdateRel getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<UpdateRel> 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 UpdateRel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder