Package org.apache.drill.exec.proto
Enum 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 Summary
Enum ConstantDescriptionACK = 1;
user is sending a query cancellation request to the drillbitreturn catalogs metadata in response to GET_CATALOGSreturn column metadata in response to GET_COLUMNSuser is sending a request to create prepared statementuser is requesting metadata of catalog(s).user is requesting metadata of column(s)to get plan fragments from queryuser is requesting metadata of schema(s)user is sending a request to receive server metadatauser is requesting metadata of table(s)GOODBYE = 2;
HANDSHAKE = 0;
return preparated statement in response to CREATE_PREPARED_STATEMENTbit to userQUERY_HANDLE = 7;
return plan fragmentsdrillbit is reporting a query status change, most likely a terminal message, to the userREQUEST_RESULTS = 5;
user is sending a query resume request to the drillbituser to bituser to bit and bit to userreturn schema metadata in response to GET_SCHEMASreturn server infos in respose to GET_SERVER_METAreturn table metadata in response to GET_TABLES -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ACK = 1;
static final int
user is sending a query cancellation request to the drillbitstatic final int
return catalogs metadata in response to GET_CATALOGSstatic final int
return column metadata in response to GET_COLUMNSstatic final int
user is sending a request to create prepared statementstatic final int
user is requesting metadata of catalog(s).static final int
user is requesting metadata of column(s)static final int
to get plan fragments from querystatic final int
user is requesting metadata of schema(s)static final int
user is sending a request to receive server metadatastatic final int
user is requesting metadata of table(s)static final int
GOODBYE = 2;
static final int
HANDSHAKE = 0;
static final int
return preparated statement in response to CREATE_PREPARED_STATEMENTstatic final int
bit to userstatic final int
QUERY_HANDLE = 7;
static final int
return plan fragmentsstatic final int
drillbit is reporting a query status change, most likely a terminal message, to the userstatic final int
REQUEST_RESULTS = 5;
static final int
user is sending a query resume request to the drillbitstatic final int
user to bitstatic final int
user to bit and bit to userstatic final int
return schema metadata in response to GET_SCHEMASstatic final int
return server infos in respose to GET_SERVER_METAstatic final int
return table metadata in response to GET_TABLES -
Method Summary
Modifier and TypeMethodDescriptionstatic UserProtos.RpcType
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<UserProtos.RpcType>
static UserProtos.RpcType
valueOf
(int value) Deprecated.static UserProtos.RpcType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static UserProtos.RpcType
Returns the enum constant of this type with the specified name.static UserProtos.RpcType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HANDSHAKE
HANDSHAKE = 0;
-
ACK
ACK = 1;
-
GOODBYE
GOODBYE = 2;
-
RUN_QUERY
user to bit
RUN_QUERY = 3;
-
CANCEL_QUERY
user is sending a query cancellation request to the drillbit
CANCEL_QUERY = 4;
-
REQUEST_RESULTS
REQUEST_RESULTS = 5;
-
RESUME_PAUSED_QUERY
user is sending a query resume request to the drillbit
RESUME_PAUSED_QUERY = 11;
-
GET_QUERY_PLAN_FRAGMENTS
to get plan fragments from query
GET_QUERY_PLAN_FRAGMENTS = 12;
-
GET_CATALOGS
user is requesting metadata of catalog(s).
GET_CATALOGS = 14;
-
GET_SCHEMAS
user is requesting metadata of schema(s)
GET_SCHEMAS = 15;
-
GET_TABLES
user is requesting metadata of table(s)
GET_TABLES = 16;
-
GET_COLUMNS
user is requesting metadata of column(s)
GET_COLUMNS = 17;
-
CREATE_PREPARED_STATEMENT
user is sending a request to create prepared statement
CREATE_PREPARED_STATEMENT = 22;
-
GET_SERVER_META
user is sending a request to receive server metadata
GET_SERVER_META = 8;
-
QUERY_DATA
bit to user
QUERY_DATA = 6;
-
QUERY_HANDLE
QUERY_HANDLE = 7;
-
QUERY_PLAN_FRAGMENTS
return plan fragments
QUERY_PLAN_FRAGMENTS = 13;
-
CATALOGS
return catalogs metadata in response to GET_CATALOGS
CATALOGS = 18;
-
SCHEMAS
return schema metadata in response to GET_SCHEMAS
SCHEMAS = 19;
-
TABLES
return table metadata in response to GET_TABLES
TABLES = 20;
-
COLUMNS
return column metadata in response to GET_COLUMNS
COLUMNS = 21;
-
PREPARED_STATEMENT
return preparated statement in response to CREATE_PREPARED_STATEMENT
PREPARED_STATEMENT = 23;
-
SERVER_META
return server infos in respose to GET_SERVER_META
SERVER_META = 9;
-
QUERY_RESULT
drillbit is reporting a query status change, most likely a terminal message, to the user
QUERY_RESULT = 10;
-
SASL_MESSAGE
user to bit and bit to user
SASL_MESSAGE = 24;
-
-
Field Details
-
HANDSHAKE_VALUE
public static final int HANDSHAKE_VALUEHANDSHAKE = 0;
- See Also:
-
ACK_VALUE
public static final int ACK_VALUEACK = 1;
- See Also:
-
GOODBYE_VALUE
public static final int GOODBYE_VALUEGOODBYE = 2;
- See Also:
-
RUN_QUERY_VALUE
public static final int RUN_QUERY_VALUEuser to bit
RUN_QUERY = 3;
- See Also:
-
CANCEL_QUERY_VALUE
public static final int CANCEL_QUERY_VALUEuser is sending a query cancellation request to the drillbit
CANCEL_QUERY = 4;
- See Also:
-
REQUEST_RESULTS_VALUE
public static final int REQUEST_RESULTS_VALUEREQUEST_RESULTS = 5;
- See Also:
-
RESUME_PAUSED_QUERY_VALUE
public static final int RESUME_PAUSED_QUERY_VALUEuser 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_VALUEto get plan fragments from query
GET_QUERY_PLAN_FRAGMENTS = 12;
- See Also:
-
GET_CATALOGS_VALUE
public static final int GET_CATALOGS_VALUEuser is requesting metadata of catalog(s).
GET_CATALOGS = 14;
- See Also:
-
GET_SCHEMAS_VALUE
public static final int GET_SCHEMAS_VALUEuser is requesting metadata of schema(s)
GET_SCHEMAS = 15;
- See Also:
-
GET_TABLES_VALUE
public static final int GET_TABLES_VALUEuser is requesting metadata of table(s)
GET_TABLES = 16;
- See Also:
-
GET_COLUMNS_VALUE
public static final int GET_COLUMNS_VALUEuser is requesting metadata of column(s)
GET_COLUMNS = 17;
- See Also:
-
CREATE_PREPARED_STATEMENT_VALUE
public static final int CREATE_PREPARED_STATEMENT_VALUEuser 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_VALUEuser is sending a request to receive server metadata
GET_SERVER_META = 8;
- See Also:
-
QUERY_DATA_VALUE
public static final int QUERY_DATA_VALUEbit to user
QUERY_DATA = 6;
- See Also:
-
QUERY_HANDLE_VALUE
public static final int QUERY_HANDLE_VALUEQUERY_HANDLE = 7;
- See Also:
-
QUERY_PLAN_FRAGMENTS_VALUE
public static final int QUERY_PLAN_FRAGMENTS_VALUEreturn plan fragments
QUERY_PLAN_FRAGMENTS = 13;
- See Also:
-
CATALOGS_VALUE
public static final int CATALOGS_VALUEreturn catalogs metadata in response to GET_CATALOGS
CATALOGS = 18;
- See Also:
-
SCHEMAS_VALUE
public static final int SCHEMAS_VALUEreturn schema metadata in response to GET_SCHEMAS
SCHEMAS = 19;
- See Also:
-
TABLES_VALUE
public static final int TABLES_VALUEreturn table metadata in response to GET_TABLES
TABLES = 20;
- See Also:
-
COLUMNS_VALUE
public static final int COLUMNS_VALUEreturn column metadata in response to GET_COLUMNS
COLUMNS = 21;
- See Also:
-
PREPARED_STATEMENT_VALUE
public static final int PREPARED_STATEMENT_VALUEreturn preparated statement in response to CREATE_PREPARED_STATEMENT
PREPARED_STATEMENT = 23;
- See Also:
-
SERVER_META_VALUE
public static final int SERVER_META_VALUEreturn server infos in respose to GET_SERVER_META
SERVER_META = 9;
- See Also:
-
QUERY_RESULT_VALUE
public static final int QUERY_RESULT_VALUEdrillbit 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_VALUEuser to bit and bit to user
SASL_MESSAGE = 24;
- 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
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
-