Enum UserProtos.RpcType

java.lang.Object
java.lang.Enum<UserProtos.RpcType>
org.apache.drill.exec.proto.UserProtos.RpcType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<UserProtos.RpcType>
Enclosing class:
UserProtos

public static enum UserProtos.RpcType extends Enum<UserProtos.RpcType> implements com.google.protobuf.ProtocolMessageEnum
//// User <-> Bit RPC ///////
 
Protobuf enum exec.user.RpcType
  • Enum Constant Details

    • HANDSHAKE

      public static final UserProtos.RpcType HANDSHAKE
      HANDSHAKE = 0;
    • ACK

      public static final UserProtos.RpcType ACK
      ACK = 1;
    • GOODBYE

      public static final UserProtos.RpcType GOODBYE
      GOODBYE = 2;
    • RUN_QUERY

      public static final UserProtos.RpcType RUN_QUERY
       user to bit
       
      RUN_QUERY = 3;
    • CANCEL_QUERY

      public static final UserProtos.RpcType CANCEL_QUERY
       user is sending a query cancellation request to the drillbit
       
      CANCEL_QUERY = 4;
    • REQUEST_RESULTS

      public static final UserProtos.RpcType REQUEST_RESULTS
      REQUEST_RESULTS = 5;
    • RESUME_PAUSED_QUERY

      public static final UserProtos.RpcType RESUME_PAUSED_QUERY
       user is sending a query resume request to the drillbit
       
      RESUME_PAUSED_QUERY = 11;
    • GET_QUERY_PLAN_FRAGMENTS

      public static final UserProtos.RpcType GET_QUERY_PLAN_FRAGMENTS
       to get plan fragments from query
       
      GET_QUERY_PLAN_FRAGMENTS = 12;
    • GET_CATALOGS

      public static final UserProtos.RpcType GET_CATALOGS
       user is requesting metadata of catalog(s).
       
      GET_CATALOGS = 14;
    • GET_SCHEMAS

      public static final UserProtos.RpcType GET_SCHEMAS
       user is requesting metadata of schema(s)
       
      GET_SCHEMAS = 15;
    • GET_TABLES

      public static final UserProtos.RpcType GET_TABLES
       user is requesting metadata of table(s)
       
      GET_TABLES = 16;
    • GET_COLUMNS

      public static final UserProtos.RpcType GET_COLUMNS
       user is requesting metadata of column(s)
       
      GET_COLUMNS = 17;
    • CREATE_PREPARED_STATEMENT

      public static final UserProtos.RpcType CREATE_PREPARED_STATEMENT
       user is sending a request to create prepared statement
       
      CREATE_PREPARED_STATEMENT = 22;
    • GET_SERVER_META

      public static final UserProtos.RpcType GET_SERVER_META
       user is sending a request to receive server metadata
       
      GET_SERVER_META = 8;
    • QUERY_DATA

      public static final UserProtos.RpcType QUERY_DATA
       bit to user
       
      QUERY_DATA = 6;
    • QUERY_HANDLE

      public static final UserProtos.RpcType QUERY_HANDLE
      QUERY_HANDLE = 7;
    • QUERY_PLAN_FRAGMENTS

      public static final UserProtos.RpcType QUERY_PLAN_FRAGMENTS
       return plan fragments
       
      QUERY_PLAN_FRAGMENTS = 13;
    • CATALOGS

      public static final UserProtos.RpcType CATALOGS
       return catalogs metadata in response to GET_CATALOGS
       
      CATALOGS = 18;
    • SCHEMAS

      public static final UserProtos.RpcType SCHEMAS
       return schema metadata in response to GET_SCHEMAS
       
      SCHEMAS = 19;
    • TABLES

      public static final UserProtos.RpcType TABLES
       return table metadata in response to GET_TABLES
       
      TABLES = 20;
    • COLUMNS

      public static final UserProtos.RpcType COLUMNS
       return column metadata in response to GET_COLUMNS
       
      COLUMNS = 21;
    • PREPARED_STATEMENT

      public static final UserProtos.RpcType PREPARED_STATEMENT
       return preparated statement in response to CREATE_PREPARED_STATEMENT
       
      PREPARED_STATEMENT = 23;
    • SERVER_META

      public static final UserProtos.RpcType SERVER_META
       return server infos in respose to GET_SERVER_META
       
      SERVER_META = 9;
    • QUERY_RESULT

      public static final UserProtos.RpcType QUERY_RESULT
       drillbit is reporting a query status change, most likely a terminal message, to the user
       
      QUERY_RESULT = 10;
    • SASL_MESSAGE

      public static final UserProtos.RpcType SASL_MESSAGE
       user to bit and bit to user
       
      SASL_MESSAGE = 24;
  • Field Details

    • HANDSHAKE_VALUE

      public static final int HANDSHAKE_VALUE
      HANDSHAKE = 0;
      See Also:
    • ACK_VALUE

      public static final int ACK_VALUE
      ACK = 1;
      See Also:
    • GOODBYE_VALUE

      public static final int GOODBYE_VALUE
      GOODBYE = 2;
      See Also:
    • RUN_QUERY_VALUE

      public static final int RUN_QUERY_VALUE
       user to bit
       
      RUN_QUERY = 3;
      See Also:
    • CANCEL_QUERY_VALUE

      public static final int CANCEL_QUERY_VALUE
       user is sending a query cancellation request to the drillbit
       
      CANCEL_QUERY = 4;
      See Also:
    • REQUEST_RESULTS_VALUE

      public static final int REQUEST_RESULTS_VALUE
      REQUEST_RESULTS = 5;
      See Also:
    • RESUME_PAUSED_QUERY_VALUE

      public static final int RESUME_PAUSED_QUERY_VALUE
       user is sending a query resume request to the drillbit
       
      RESUME_PAUSED_QUERY = 11;
      See Also:
    • GET_QUERY_PLAN_FRAGMENTS_VALUE

      public static final int GET_QUERY_PLAN_FRAGMENTS_VALUE
       to get plan fragments from query
       
      GET_QUERY_PLAN_FRAGMENTS = 12;
      See Also:
    • GET_CATALOGS_VALUE

      public static final int GET_CATALOGS_VALUE
       user is requesting metadata of catalog(s).
       
      GET_CATALOGS = 14;
      See Also:
    • GET_SCHEMAS_VALUE

      public static final int GET_SCHEMAS_VALUE
       user is requesting metadata of schema(s)
       
      GET_SCHEMAS = 15;
      See Also:
    • GET_TABLES_VALUE

      public static final int GET_TABLES_VALUE
       user is requesting metadata of table(s)
       
      GET_TABLES = 16;
      See Also:
    • GET_COLUMNS_VALUE

      public static final int GET_COLUMNS_VALUE
       user is requesting metadata of column(s)
       
      GET_COLUMNS = 17;
      See Also:
    • CREATE_PREPARED_STATEMENT_VALUE

      public static final int CREATE_PREPARED_STATEMENT_VALUE
       user is sending a request to create prepared statement
       
      CREATE_PREPARED_STATEMENT = 22;
      See Also:
    • GET_SERVER_META_VALUE

      public static final int GET_SERVER_META_VALUE
       user is sending a request to receive server metadata
       
      GET_SERVER_META = 8;
      See Also:
    • QUERY_DATA_VALUE

      public static final int QUERY_DATA_VALUE
       bit to user
       
      QUERY_DATA = 6;
      See Also:
    • QUERY_HANDLE_VALUE

      public static final int QUERY_HANDLE_VALUE
      QUERY_HANDLE = 7;
      See Also:
    • QUERY_PLAN_FRAGMENTS_VALUE

      public static final int QUERY_PLAN_FRAGMENTS_VALUE
       return plan fragments
       
      QUERY_PLAN_FRAGMENTS = 13;
      See Also:
    • CATALOGS_VALUE

      public static final int CATALOGS_VALUE
       return catalogs metadata in response to GET_CATALOGS
       
      CATALOGS = 18;
      See Also:
    • SCHEMAS_VALUE

      public static final int SCHEMAS_VALUE
       return schema metadata in response to GET_SCHEMAS
       
      SCHEMAS = 19;
      See Also:
    • TABLES_VALUE

      public static final int TABLES_VALUE
       return table metadata in response to GET_TABLES
       
      TABLES = 20;
      See Also:
    • COLUMNS_VALUE

      public static final int COLUMNS_VALUE
       return column metadata in response to GET_COLUMNS
       
      COLUMNS = 21;
      See Also:
    • PREPARED_STATEMENT_VALUE

      public static final int PREPARED_STATEMENT_VALUE
       return preparated statement in response to CREATE_PREPARED_STATEMENT
       
      PREPARED_STATEMENT = 23;
      See Also:
    • SERVER_META_VALUE

      public static final int SERVER_META_VALUE
       return server infos in respose to GET_SERVER_META
       
      SERVER_META = 9;
      See Also:
    • QUERY_RESULT_VALUE

      public static final int QUERY_RESULT_VALUE
       drillbit is reporting a query status change, most likely a terminal message, to the user
       
      QUERY_RESULT = 10;
      See Also:
    • SASL_MESSAGE_VALUE

      public static final int SASL_MESSAGE_VALUE
       user to bit and bit to user
       
      SASL_MESSAGE = 24;
      See Also:
  • Method Details

    • values

      public static UserProtos.RpcType[] 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 UserProtos.RpcType 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 UserProtos.RpcType 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 UserProtos.RpcType 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<UserProtos.RpcType> 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 UserProtos.RpcType 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