Class DdlRel

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

public final class DdlRel extends com.google.protobuf.GeneratedMessageV3 implements DdlRelOrBuilder
Protobuf type substrait.DdlRel
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type substrait.DdlRel
    static enum 
    Protobuf enum substrait.DdlRel.DdlObject
    static enum 
    Protobuf enum substrait.DdlRel.DdlOp
    static enum 
     

    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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    .substrait.extensions.AdvancedExtension advanced_extension = 9;
    .substrait.extensions.AdvancedExtension advanced_extension = 9;
    .substrait.RelCommon common = 8;
    .substrait.RelCommon common = 8;
    static DdlRel
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    .substrait.ExtensionObject extension_object = 2;
    .substrait.ExtensionObject extension_object = 2;
    .substrait.NamedObjectWrite named_object = 1;
    .substrait.NamedObjectWrite named_object = 1;
    Which type of object we operate on
    int
    Which type of object we operate on
    The type of operation to perform
    int
    The type of operation to perform
    com.google.protobuf.Parser<DdlRel>
     
    int
     
    The default values for the columns (representing after-image of a schema change) E.g., in case of an ALTER TABLE that changes some of the column default values, we expect the table_defaults Struct to report a full list of default values reflecting the result of applying the ALTER TABLE operator successfully
    The default values for the columns (representing after-image of a schema change) E.g., in case of an ALTER TABLE that changes some of the column default values, we expect the table_defaults Struct to report a full list of default values reflecting the result of applying the ALTER TABLE operator successfully
    The columns that will be modified (representing after-image of a schema change)
    The columns that will be modified (representing after-image of a schema change)
    The body of the CREATE VIEW
    The body of the CREATE VIEW
     
    boolean
    .substrait.extensions.AdvancedExtension advanced_extension = 9;
    boolean
    .substrait.RelCommon common = 8;
    boolean
    .substrait.ExtensionObject extension_object = 2;
    int
     
    boolean
    .substrait.NamedObjectWrite named_object = 1;
    boolean
    The default values for the columns (representing after-image of a schema change) E.g., in case of an ALTER TABLE that changes some of the column default values, we expect the table_defaults Struct to report a full list of default values reflecting the result of applying the ALTER TABLE operator successfully
    boolean
    The columns that will be modified (representing after-image of a schema change)
    boolean
    The body of the CREATE VIEW
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(DdlRel prototype)
     
     
    protected DdlRel.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static DdlRel
     
    static DdlRel
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DdlRel
    parseFrom(byte[] data)
     
    static DdlRel
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DdlRel
    parseFrom(com.google.protobuf.ByteString data)
     
    static DdlRel
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DdlRel
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static DdlRel
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DdlRel
     
    static DdlRel
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DdlRel
     
    static DdlRel
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<DdlRel>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • NAMED_OBJECT_FIELD_NUMBER

      public static final int NAMED_OBJECT_FIELD_NUMBER
      See Also:
    • EXTENSION_OBJECT_FIELD_NUMBER

      public static final int EXTENSION_OBJECT_FIELD_NUMBER
      See Also:
    • TABLE_SCHEMA_FIELD_NUMBER

      public static final int TABLE_SCHEMA_FIELD_NUMBER
      See Also:
    • TABLE_DEFAULTS_FIELD_NUMBER

      public static final int TABLE_DEFAULTS_FIELD_NUMBER
      See Also:
    • OBJECT_FIELD_NUMBER

      public static final int OBJECT_FIELD_NUMBER
      See Also:
    • OP_FIELD_NUMBER

      public static final int OP_FIELD_NUMBER
      See Also:
    • VIEW_DEFINITION_FIELD_NUMBER

      public static final int VIEW_DEFINITION_FIELD_NUMBER
      See Also:
    • COMMON_FIELD_NUMBER

      public static final int COMMON_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
    • getWriteTypeCase

      public DdlRel.WriteTypeCase getWriteTypeCase()
      Specified by:
      getWriteTypeCase in interface DdlRelOrBuilder
    • hasNamedObject

      public boolean hasNamedObject()
      .substrait.NamedObjectWrite named_object = 1;
      Specified by:
      hasNamedObject in interface DdlRelOrBuilder
      Returns:
      Whether the namedObject field is set.
    • getNamedObject

      public NamedObjectWrite getNamedObject()
      .substrait.NamedObjectWrite named_object = 1;
      Specified by:
      getNamedObject in interface DdlRelOrBuilder
      Returns:
      The namedObject.
    • getNamedObjectOrBuilder

      public NamedObjectWriteOrBuilder getNamedObjectOrBuilder()
      .substrait.NamedObjectWrite named_object = 1;
      Specified by:
      getNamedObjectOrBuilder in interface DdlRelOrBuilder
    • hasExtensionObject

      public boolean hasExtensionObject()
      .substrait.ExtensionObject extension_object = 2;
      Specified by:
      hasExtensionObject in interface DdlRelOrBuilder
      Returns:
      Whether the extensionObject field is set.
    • getExtensionObject

      public ExtensionObject getExtensionObject()
      .substrait.ExtensionObject extension_object = 2;
      Specified by:
      getExtensionObject in interface DdlRelOrBuilder
      Returns:
      The extensionObject.
    • getExtensionObjectOrBuilder

      public ExtensionObjectOrBuilder getExtensionObjectOrBuilder()
      .substrait.ExtensionObject extension_object = 2;
      Specified by:
      getExtensionObjectOrBuilder in interface DdlRelOrBuilder
    • hasTableSchema

      public boolean hasTableSchema()
       The columns that will be modified (representing after-image of a schema change)
       
      .substrait.NamedStruct table_schema = 3;
      Specified by:
      hasTableSchema in interface DdlRelOrBuilder
      Returns:
      Whether the tableSchema field is set.
    • getTableSchema

      public NamedStruct getTableSchema()
       The columns that will be modified (representing after-image of a schema change)
       
      .substrait.NamedStruct table_schema = 3;
      Specified by:
      getTableSchema in interface DdlRelOrBuilder
      Returns:
      The tableSchema.
    • getTableSchemaOrBuilder

      public NamedStructOrBuilder getTableSchemaOrBuilder()
       The columns that will be modified (representing after-image of a schema change)
       
      .substrait.NamedStruct table_schema = 3;
      Specified by:
      getTableSchemaOrBuilder in interface DdlRelOrBuilder
    • hasTableDefaults

      public boolean hasTableDefaults()
       The default values for the columns (representing after-image of a schema change)
       E.g., in case of an ALTER TABLE that changes some of the column default values, we expect
       the table_defaults Struct to report a full list of default values reflecting the result of applying
       the ALTER TABLE operator successfully
       
      .substrait.Expression.Literal.Struct table_defaults = 4;
      Specified by:
      hasTableDefaults in interface DdlRelOrBuilder
      Returns:
      Whether the tableDefaults field is set.
    • getTableDefaults

      public Expression.Literal.Struct getTableDefaults()
       The default values for the columns (representing after-image of a schema change)
       E.g., in case of an ALTER TABLE that changes some of the column default values, we expect
       the table_defaults Struct to report a full list of default values reflecting the result of applying
       the ALTER TABLE operator successfully
       
      .substrait.Expression.Literal.Struct table_defaults = 4;
      Specified by:
      getTableDefaults in interface DdlRelOrBuilder
      Returns:
      The tableDefaults.
    • getTableDefaultsOrBuilder

      public Expression.Literal.StructOrBuilder getTableDefaultsOrBuilder()
       The default values for the columns (representing after-image of a schema change)
       E.g., in case of an ALTER TABLE that changes some of the column default values, we expect
       the table_defaults Struct to report a full list of default values reflecting the result of applying
       the ALTER TABLE operator successfully
       
      .substrait.Expression.Literal.Struct table_defaults = 4;
      Specified by:
      getTableDefaultsOrBuilder in interface DdlRelOrBuilder
    • getObjectValue

      public int getObjectValue()
       Which type of object we operate on
       
      .substrait.DdlRel.DdlObject object = 5;
      Specified by:
      getObjectValue in interface DdlRelOrBuilder
      Returns:
      The enum numeric value on the wire for object.
    • getObject

      public DdlRel.DdlObject getObject()
       Which type of object we operate on
       
      .substrait.DdlRel.DdlObject object = 5;
      Specified by:
      getObject in interface DdlRelOrBuilder
      Returns:
      The object.
    • getOpValue

      public int getOpValue()
       The type of operation to perform
       
      .substrait.DdlRel.DdlOp op = 6;
      Specified by:
      getOpValue in interface DdlRelOrBuilder
      Returns:
      The enum numeric value on the wire for op.
    • getOp

      public DdlRel.DdlOp getOp()
       The type of operation to perform
       
      .substrait.DdlRel.DdlOp op = 6;
      Specified by:
      getOp in interface DdlRelOrBuilder
      Returns:
      The op.
    • hasViewDefinition

      public boolean hasViewDefinition()
       The body of the CREATE VIEW
       
      .substrait.Rel view_definition = 7;
      Specified by:
      hasViewDefinition in interface DdlRelOrBuilder
      Returns:
      Whether the viewDefinition field is set.
    • getViewDefinition

      public Rel getViewDefinition()
       The body of the CREATE VIEW
       
      .substrait.Rel view_definition = 7;
      Specified by:
      getViewDefinition in interface DdlRelOrBuilder
      Returns:
      The viewDefinition.
    • getViewDefinitionOrBuilder

      public RelOrBuilder getViewDefinitionOrBuilder()
       The body of the CREATE VIEW
       
      .substrait.Rel view_definition = 7;
      Specified by:
      getViewDefinitionOrBuilder in interface DdlRelOrBuilder
    • hasCommon

      public boolean hasCommon()
      .substrait.RelCommon common = 8;
      Specified by:
      hasCommon in interface DdlRelOrBuilder
      Returns:
      Whether the common field is set.
    • getCommon

      public RelCommon getCommon()
      .substrait.RelCommon common = 8;
      Specified by:
      getCommon in interface DdlRelOrBuilder
      Returns:
      The common.
    • getCommonOrBuilder

      public RelCommonOrBuilder getCommonOrBuilder()
      .substrait.RelCommon common = 8;
      Specified by:
      getCommonOrBuilder in interface DdlRelOrBuilder
    • hasAdvancedExtension

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static DdlRel.Builder newBuilder()
    • newBuilder

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

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

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

      public static DdlRel getDefaultInstance()
    • parser

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

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