public static enum FlightSql.UpdateDeleteRules extends Enum<FlightSql.UpdateDeleteRules> implements com.google.protobuf.ProtocolMessageEnum
arrow.flight.protocol.sql.UpdateDeleteRules
Enum Constant and Description |
---|
CASCADE
CASCADE = 0; |
NO_ACTION
NO_ACTION = 3; |
RESTRICT
RESTRICT = 1; |
SET_DEFAULT
SET_DEFAULT = 4; |
SET_NULL
SET_NULL = 2; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CASCADE_VALUE
CASCADE = 0; |
static int |
NO_ACTION_VALUE
NO_ACTION = 3; |
static int |
RESTRICT_VALUE
RESTRICT = 1; |
static int |
SET_DEFAULT_VALUE
SET_DEFAULT = 4; |
static int |
SET_NULL_VALUE
SET_NULL = 2; |
Modifier and Type | Method and Description |
---|---|
static FlightSql.UpdateDeleteRules |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<FlightSql.UpdateDeleteRules> |
internalGetValueMap() |
static FlightSql.UpdateDeleteRules |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FlightSql.UpdateDeleteRules |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FlightSql.UpdateDeleteRules |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlightSql.UpdateDeleteRules[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlightSql.UpdateDeleteRules CASCADE
CASCADE = 0;
public static final FlightSql.UpdateDeleteRules RESTRICT
RESTRICT = 1;
public static final FlightSql.UpdateDeleteRules SET_NULL
SET_NULL = 2;
public static final FlightSql.UpdateDeleteRules NO_ACTION
NO_ACTION = 3;
public static final FlightSql.UpdateDeleteRules SET_DEFAULT
SET_DEFAULT = 4;
public static final FlightSql.UpdateDeleteRules UNRECOGNIZED
public static final int CASCADE_VALUE
CASCADE = 0;
public static final int RESTRICT_VALUE
RESTRICT = 1;
public static final int SET_NULL_VALUE
SET_NULL = 2;
public static final int NO_ACTION_VALUE
NO_ACTION = 3;
public static final int SET_DEFAULT_VALUE
SET_DEFAULT = 4;
public static FlightSql.UpdateDeleteRules[] values()
for (FlightSql.UpdateDeleteRules c : FlightSql.UpdateDeleteRules.values()) System.out.println(c);
public static FlightSql.UpdateDeleteRules valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static FlightSql.UpdateDeleteRules valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static FlightSql.UpdateDeleteRules forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FlightSql.UpdateDeleteRules> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FlightSql.UpdateDeleteRules valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 The Apache Software Foundation. All rights reserved.