Package io.substrait.proto
Enum Class 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn operation that modifies the schema (e.g., column names, types, default values) for the target objectA create operation (for any object)A create operation if the object does not exist, or replaces it (equivalent to a DROP + CREATE) if the object already existsAn operation that removes an object from the systemAn operation that removes an object from the system (without throwing an exception if the object did not exist)DDL_OP_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn operation that modifies the schema (e.g., column names, types, default values) for the target objectstatic final intA create operation if the object does not exist, or replaces it (equivalent to a DROP + CREATE) if the object already existsstatic final intA create operation (for any object)static final intAn operation that removes an object from the system (without throwing an exception if the object did not exist)static final intAn operation that removes an object from the systemstatic final intDDL_OP_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic DdlRel.DdlOpforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DdlRel.DdlOp>static DdlRel.DdlOpvalueOf(int value) Deprecated.static DdlRel.DdlOpvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static DdlRel.DdlOpReturns the enum constant of this class with the specified name.static DdlRel.DdlOp[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DDL_OP_UNSPECIFIED
DDL_OP_UNSPECIFIED = 0; -
DDL_OP_CREATE
A create operation (for any object)
DDL_OP_CREATE = 1; -
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
An operation that modifies the schema (e.g., column names, types, default values) for the target object
DDL_OP_ALTER = 3; -
DDL_OP_DROP
An operation that removes an object from the system
DDL_OP_DROP = 4; -
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
-
-
Field Details
-
DDL_OP_UNSPECIFIED_VALUE
public static final int DDL_OP_UNSPECIFIED_VALUEDDL_OP_UNSPECIFIED = 0;- See Also:
-
DDL_OP_CREATE_VALUE
public static final int DDL_OP_CREATE_VALUEA 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_VALUEA 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_VALUEAn 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_VALUEAn 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_VALUEAn 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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-