Module org.apache.arrow.flight.core
Package org.apache.arrow.flight.sql.impl
Enum FlightSql.Searchable
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<FlightSql.Searchable>
- Enclosing class:
- FlightSql
public static enum FlightSql.Searchable
extends Enum<FlightSql.Searchable>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
arrow.flight.protocol.sql.Searchable
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the column can be used In a WHERE clause with any operator other than LIKE.Indicates that the column can be used in a WHERE clause if it is using a LIKE operator.Indicates that the column can be used in a WHERE clause using any operator.Indicates that column cannot be used in a WHERE clause. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Indicates that the column can be used In a WHERE clause with any operator other than LIKE.static final int
Indicates that the column can be used in a WHERE clause if it is using a LIKE operator.static final int
Indicates that the column can be used in a WHERE clause using any operator.static final int
Indicates that column cannot be used in a WHERE clause. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlightSql.Searchable
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<FlightSql.Searchable>
static FlightSql.Searchable
valueOf
(int value) Deprecated.static FlightSql.Searchable
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static FlightSql.Searchable
Returns the enum constant of this type with the specified name.static FlightSql.Searchable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEARCHABLE_NONE
Indicates that column cannot be used in a WHERE clause.
SEARCHABLE_NONE = 0;
-
SEARCHABLE_CHAR
Indicates that the column can be used in a WHERE clause if it is using a LIKE operator.
SEARCHABLE_CHAR = 1;
-
SEARCHABLE_BASIC
Indicates that the column can be used In a WHERE clause with any operator other than LIKE. - Allowed operators: comparison, quantified comparison, BETWEEN, DISTINCT, IN, MATCH, and UNIQUE.
SEARCHABLE_BASIC = 2;
-
SEARCHABLE_FULL
Indicates that the column can be used in a WHERE clause using any operator.
SEARCHABLE_FULL = 3;
-
UNRECOGNIZED
-
-
Field Details
-
SEARCHABLE_NONE_VALUE
public static final int SEARCHABLE_NONE_VALUEIndicates that column cannot be used in a WHERE clause.
SEARCHABLE_NONE = 0;
- See Also:
-
SEARCHABLE_CHAR_VALUE
public static final int SEARCHABLE_CHAR_VALUEIndicates that the column can be used in a WHERE clause if it is using a LIKE operator.
SEARCHABLE_CHAR = 1;
- See Also:
-
SEARCHABLE_BASIC_VALUE
public static final int SEARCHABLE_BASIC_VALUEIndicates that the column can be used In a WHERE clause with any operator other than LIKE. - Allowed operators: comparison, quantified comparison, BETWEEN, DISTINCT, IN, MATCH, and UNIQUE.
SEARCHABLE_BASIC = 2;
- See Also:
-
SEARCHABLE_FULL_VALUE
public static final int SEARCHABLE_FULL_VALUEIndicates that the column can be used in a WHERE clause using any operator.
SEARCHABLE_FULL = 3;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FlightSql.Searchable valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-