Package io.substrait.proto
Enum Class WriteRel.WriteOp
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<WriteRel.WriteOp>,Constable
- Enclosing class:
- WriteRel
public static enum WriteRel.WriteOp
extends Enum<WriteRel.WriteOp>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
substrait.WriteRel.WriteOp-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Creation of a new table, and the insert of new records in the tableThe removal of records from a tableThe insert of new records in a tableWRITE_OP_UNSPECIFIED = 0;The modification of existing records within a table -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Creation of a new table, and the insert of new records in the tablestatic final intThe removal of records from a tablestatic final intThe insert of new records in a tablestatic final intWRITE_OP_UNSPECIFIED = 0;static final intThe modification of existing records within a table -
Method Summary
Modifier and TypeMethodDescriptionstatic WriteRel.WriteOpforNumber(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<WriteRel.WriteOp>static WriteRel.WriteOpvalueOf(int value) Deprecated.static WriteRel.WriteOpvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static WriteRel.WriteOpReturns the enum constant of this class with the specified name.static WriteRel.WriteOp[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRITE_OP_UNSPECIFIED
WRITE_OP_UNSPECIFIED = 0; -
WRITE_OP_INSERT
The insert of new records in a table
WRITE_OP_INSERT = 1; -
WRITE_OP_DELETE
The removal of records from a table
WRITE_OP_DELETE = 2; -
WRITE_OP_UPDATE
The modification of existing records within a table
WRITE_OP_UPDATE = 3; -
WRITE_OP_CTAS
The Creation of a new table, and the insert of new records in the table
WRITE_OP_CTAS = 4; -
UNRECOGNIZED
-
-
Field Details
-
WRITE_OP_UNSPECIFIED_VALUE
public static final int WRITE_OP_UNSPECIFIED_VALUEWRITE_OP_UNSPECIFIED = 0;- See Also:
-
WRITE_OP_INSERT_VALUE
public static final int WRITE_OP_INSERT_VALUEThe insert of new records in a table
WRITE_OP_INSERT = 1;- See Also:
-
WRITE_OP_DELETE_VALUE
public static final int WRITE_OP_DELETE_VALUEThe removal of records from a table
WRITE_OP_DELETE = 2;- See Also:
-
WRITE_OP_UPDATE_VALUE
public static final int WRITE_OP_UPDATE_VALUEThe modification of existing records within a table
WRITE_OP_UPDATE = 3;- See Also:
-
WRITE_OP_CTAS_VALUE
public static final int WRITE_OP_CTAS_VALUEThe Creation of a new table, and the insert of new records in the table
WRITE_OP_CTAS = 4;- 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
-