public static enum FlightSql.SqlTransactionIsolationLevel extends Enum<FlightSql.SqlTransactionIsolationLevel> implements com.google.protobuf.ProtocolMessageEnum
arrow.flight.protocol.sql.SqlTransactionIsolationLevel
Enum Constant and Description |
---|
SQL_TRANSACTION_NONE
SQL_TRANSACTION_NONE = 0; |
SQL_TRANSACTION_READ_COMMITTED
SQL_TRANSACTION_READ_COMMITTED = 2; |
SQL_TRANSACTION_READ_UNCOMMITTED
SQL_TRANSACTION_READ_UNCOMMITTED = 1; |
SQL_TRANSACTION_REPEATABLE_READ
SQL_TRANSACTION_REPEATABLE_READ = 3; |
SQL_TRANSACTION_SERIALIZABLE
SQL_TRANSACTION_SERIALIZABLE = 4; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
SQL_TRANSACTION_NONE_VALUE
SQL_TRANSACTION_NONE = 0; |
static int |
SQL_TRANSACTION_READ_COMMITTED_VALUE
SQL_TRANSACTION_READ_COMMITTED = 2; |
static int |
SQL_TRANSACTION_READ_UNCOMMITTED_VALUE
SQL_TRANSACTION_READ_UNCOMMITTED = 1; |
static int |
SQL_TRANSACTION_REPEATABLE_READ_VALUE
SQL_TRANSACTION_REPEATABLE_READ = 3; |
static int |
SQL_TRANSACTION_SERIALIZABLE_VALUE
SQL_TRANSACTION_SERIALIZABLE = 4; |
Modifier and Type | Method and Description |
---|---|
static FlightSql.SqlTransactionIsolationLevel |
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.SqlTransactionIsolationLevel> |
internalGetValueMap() |
static FlightSql.SqlTransactionIsolationLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FlightSql.SqlTransactionIsolationLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FlightSql.SqlTransactionIsolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlightSql.SqlTransactionIsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlightSql.SqlTransactionIsolationLevel SQL_TRANSACTION_NONE
SQL_TRANSACTION_NONE = 0;
public static final FlightSql.SqlTransactionIsolationLevel SQL_TRANSACTION_READ_UNCOMMITTED
SQL_TRANSACTION_READ_UNCOMMITTED = 1;
public static final FlightSql.SqlTransactionIsolationLevel SQL_TRANSACTION_READ_COMMITTED
SQL_TRANSACTION_READ_COMMITTED = 2;
public static final FlightSql.SqlTransactionIsolationLevel SQL_TRANSACTION_REPEATABLE_READ
SQL_TRANSACTION_REPEATABLE_READ = 3;
public static final FlightSql.SqlTransactionIsolationLevel SQL_TRANSACTION_SERIALIZABLE
SQL_TRANSACTION_SERIALIZABLE = 4;
public static final FlightSql.SqlTransactionIsolationLevel UNRECOGNIZED
public static final int SQL_TRANSACTION_NONE_VALUE
SQL_TRANSACTION_NONE = 0;
public static final int SQL_TRANSACTION_READ_UNCOMMITTED_VALUE
SQL_TRANSACTION_READ_UNCOMMITTED = 1;
public static final int SQL_TRANSACTION_READ_COMMITTED_VALUE
SQL_TRANSACTION_READ_COMMITTED = 2;
public static final int SQL_TRANSACTION_REPEATABLE_READ_VALUE
SQL_TRANSACTION_REPEATABLE_READ = 3;
public static final int SQL_TRANSACTION_SERIALIZABLE_VALUE
SQL_TRANSACTION_SERIALIZABLE = 4;
public static FlightSql.SqlTransactionIsolationLevel[] values()
for (FlightSql.SqlTransactionIsolationLevel c : FlightSql.SqlTransactionIsolationLevel.values()) System.out.println(c);
public static FlightSql.SqlTransactionIsolationLevel 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.SqlTransactionIsolationLevel valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static FlightSql.SqlTransactionIsolationLevel forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FlightSql.SqlTransactionIsolationLevel> 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.SqlTransactionIsolationLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 The Apache Software Foundation. All rights reserved.