Enum Class DdlRel.DdlOp

java.lang.Object
java.lang.Enum<DdlRel.DdlOp>
io.substrait.proto.DdlRel.DdlOp
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DdlRel.DdlOp>, Constable
Enclosing class:
DdlRel

public static enum DdlRel.DdlOp extends Enum<DdlRel.DdlOp> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum substrait.DdlRel.DdlOp
  • Enum Constant Details

    • DDL_OP_UNSPECIFIED

      public static final DdlRel.DdlOp DDL_OP_UNSPECIFIED
      DDL_OP_UNSPECIFIED = 0;
    • DDL_OP_CREATE

      public static final DdlRel.DdlOp DDL_OP_CREATE
       A create operation (for any object)
       
      DDL_OP_CREATE = 1;
    • DDL_OP_CREATE_OR_REPLACE

      public static final DdlRel.DdlOp DDL_OP_CREATE_OR_REPLACE
       A create operation if the object does not exist, or replaces it (equivalent to a DROP + CREATE) if the object already exists
       
      DDL_OP_CREATE_OR_REPLACE = 2;
    • DDL_OP_ALTER

      public static final DdlRel.DdlOp DDL_OP_ALTER
       An operation that modifies the schema (e.g., column names, types, default values) for the target object
       
      DDL_OP_ALTER = 3;
    • DDL_OP_DROP

      public static final DdlRel.DdlOp DDL_OP_DROP
       An operation that removes an object from the system
       
      DDL_OP_DROP = 4;
    • DDL_OP_DROP_IF_EXIST

      public static final DdlRel.DdlOp DDL_OP_DROP_IF_EXIST
       An operation that removes an object from the system (without throwing an exception if the object did not exist)
       
      DDL_OP_DROP_IF_EXIST = 5;
    • UNRECOGNIZED

      public static final DdlRel.DdlOp UNRECOGNIZED
  • Field Details

    • DDL_OP_UNSPECIFIED_VALUE

      public static final int DDL_OP_UNSPECIFIED_VALUE
      DDL_OP_UNSPECIFIED = 0;
      See Also:
    • DDL_OP_CREATE_VALUE

      public static final int DDL_OP_CREATE_VALUE
       A create operation (for any object)
       
      DDL_OP_CREATE = 1;
      See Also:
    • DDL_OP_CREATE_OR_REPLACE_VALUE

      public static final int DDL_OP_CREATE_OR_REPLACE_VALUE
       A create operation if the object does not exist, or replaces it (equivalent to a DROP + CREATE) if the object already exists
       
      DDL_OP_CREATE_OR_REPLACE = 2;
      See Also:
    • DDL_OP_ALTER_VALUE

      public static final int DDL_OP_ALTER_VALUE
       An operation that modifies the schema (e.g., column names, types, default values) for the target object
       
      DDL_OP_ALTER = 3;
      See Also:
    • DDL_OP_DROP_VALUE

      public static final int DDL_OP_DROP_VALUE
       An operation that removes an object from the system
       
      DDL_OP_DROP = 4;
      See Also:
    • DDL_OP_DROP_IF_EXIST_VALUE

      public static final int DDL_OP_DROP_IF_EXIST_VALUE
       An operation that removes an object from the system (without throwing an exception if the object did not exist)
       
      DDL_OP_DROP_IF_EXIST = 5;
      See Also:
  • Method Details

    • values

      public static DdlRel.DdlOp[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DdlRel.DdlOp valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static DdlRel.DdlOp valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static DdlRel.DdlOp forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<DdlRel.DdlOp> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static DdlRel.DdlOp valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null