Enum FlightSql.Searchable

java.lang.Object
java.lang.Enum<FlightSql.Searchable>
org.apache.arrow.flight.sql.impl.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 Details

    • SEARCHABLE_NONE

      public static final FlightSql.Searchable SEARCHABLE_NONE
      
       Indicates that column cannot be used in a WHERE clause.
       
      SEARCHABLE_NONE = 0;
    • SEARCHABLE_CHAR

      public static final FlightSql.Searchable 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

      public static final FlightSql.Searchable 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

      public static final FlightSql.Searchable SEARCHABLE_FULL
      
       Indicates that the column can be used in a WHERE clause using any operator.
       
      SEARCHABLE_FULL = 3;
    • UNRECOGNIZED

      public static final FlightSql.Searchable UNRECOGNIZED
  • Field Details

    • SEARCHABLE_NONE_VALUE

      public static final int SEARCHABLE_NONE_VALUE
      
       Indicates that column cannot be used in a WHERE clause.
       
      SEARCHABLE_NONE = 0;
      See Also:
    • SEARCHABLE_CHAR_VALUE

      public static final int SEARCHABLE_CHAR_VALUE
      
       Indicates 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_VALUE
      
       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;
      See Also:
    • SEARCHABLE_FULL_VALUE

      public static final int SEARCHABLE_FULL_VALUE
      
       Indicates that the column can be used in a WHERE clause using any operator.
       
      SEARCHABLE_FULL = 3;
      See Also:
  • Method Details

    • values

      public static FlightSql.Searchable[] 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

      public static FlightSql.Searchable valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static FlightSql.Searchable valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static FlightSql.Searchable forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<FlightSql.Searchable> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null