public static enum UserProtos.RpcType extends Enum<UserProtos.RpcType> implements com.google.protobuf.ProtocolMessageEnum
//// User <-> Bit RPC ///////Protobuf enum
exec.user.RpcType
Enum Constant and Description |
---|
ACK
ACK = 1; |
CANCEL_QUERY
user is sending a query cancellation request to the drillbit
|
CATALOGS
return catalogs metadata in response to GET_CATALOGS
|
COLUMNS
return column metadata in response to GET_COLUMNS
|
CREATE_PREPARED_STATEMENT
user is sending a request to create prepared statement
|
GET_CATALOGS
user is requesting metadata of catalog(s).
|
GET_COLUMNS
user is requesting metadata of column(s)
|
GET_QUERY_PLAN_FRAGMENTS
to get plan fragments from query
|
GET_SCHEMAS
user is requesting metadata of schema(s)
|
GET_SERVER_META
user is sending a request to receive server metadata
|
GET_TABLES
user is requesting metadata of table(s)
|
GOODBYE
GOODBYE = 2; |
HANDSHAKE
HANDSHAKE = 0; |
PREPARED_STATEMENT
return preparated statement in response to CREATE_PREPARED_STATEMENT
|
QUERY_DATA
bit to user
|
QUERY_HANDLE
QUERY_HANDLE = 7; |
QUERY_PLAN_FRAGMENTS
return plan fragments
|
QUERY_RESULT
drillbit is reporting a query status change, most likely a terminal message, to the user
|
REQUEST_RESULTS
REQUEST_RESULTS = 5; |
RESUME_PAUSED_QUERY
user is sending a query resume request to the drillbit
|
RUN_QUERY
user to bit
|
SASL_MESSAGE
user to bit and bit to user
|
SCHEMAS
return schema metadata in response to GET_SCHEMAS
|
SERVER_META
return server infos in respose to GET_SERVER_META
|
TABLES
return table metadata in response to GET_TABLES
|
Modifier and Type | Field and Description |
---|---|
static int |
ACK_VALUE
ACK = 1; |
static int |
CANCEL_QUERY_VALUE
user is sending a query cancellation request to the drillbit
|
static int |
CATALOGS_VALUE
return catalogs metadata in response to GET_CATALOGS
|
static int |
COLUMNS_VALUE
return column metadata in response to GET_COLUMNS
|
static int |
CREATE_PREPARED_STATEMENT_VALUE
user is sending a request to create prepared statement
|
static int |
GET_CATALOGS_VALUE
user is requesting metadata of catalog(s).
|
static int |
GET_COLUMNS_VALUE
user is requesting metadata of column(s)
|
static int |
GET_QUERY_PLAN_FRAGMENTS_VALUE
to get plan fragments from query
|
static int |
GET_SCHEMAS_VALUE
user is requesting metadata of schema(s)
|
static int |
GET_SERVER_META_VALUE
user is sending a request to receive server metadata
|
static int |
GET_TABLES_VALUE
user is requesting metadata of table(s)
|
static int |
GOODBYE_VALUE
GOODBYE = 2; |
static int |
HANDSHAKE_VALUE
HANDSHAKE = 0; |
static int |
PREPARED_STATEMENT_VALUE
return preparated statement in response to CREATE_PREPARED_STATEMENT
|
static int |
QUERY_DATA_VALUE
bit to user
|
static int |
QUERY_HANDLE_VALUE
QUERY_HANDLE = 7; |
static int |
QUERY_PLAN_FRAGMENTS_VALUE
return plan fragments
|
static int |
QUERY_RESULT_VALUE
drillbit is reporting a query status change, most likely a terminal message, to the user
|
static int |
REQUEST_RESULTS_VALUE
REQUEST_RESULTS = 5; |
static int |
RESUME_PAUSED_QUERY_VALUE
user is sending a query resume request to the drillbit
|
static int |
RUN_QUERY_VALUE
user to bit
|
static int |
SASL_MESSAGE_VALUE
user to bit and bit to user
|
static int |
SCHEMAS_VALUE
return schema metadata in response to GET_SCHEMAS
|
static int |
SERVER_META_VALUE
return server infos in respose to GET_SERVER_META
|
static int |
TABLES_VALUE
return table metadata in response to GET_TABLES
|
Modifier and Type | Method and Description |
---|---|
static UserProtos.RpcType |
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<UserProtos.RpcType> |
internalGetValueMap() |
static UserProtos.RpcType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserProtos.RpcType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserProtos.RpcType |
valueOf(String name)
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.
|
public static final UserProtos.RpcType HANDSHAKE
HANDSHAKE = 0;
public static final UserProtos.RpcType ACK
ACK = 1;
public static final UserProtos.RpcType GOODBYE
GOODBYE = 2;
public static final UserProtos.RpcType RUN_QUERY
user to bit
RUN_QUERY = 3;
public static final UserProtos.RpcType CANCEL_QUERY
user is sending a query cancellation request to the drillbit
CANCEL_QUERY = 4;
public static final UserProtos.RpcType REQUEST_RESULTS
REQUEST_RESULTS = 5;
public static final UserProtos.RpcType RESUME_PAUSED_QUERY
user is sending a query resume request to the drillbit
RESUME_PAUSED_QUERY = 11;
public static final UserProtos.RpcType GET_QUERY_PLAN_FRAGMENTS
to get plan fragments from query
GET_QUERY_PLAN_FRAGMENTS = 12;
public static final UserProtos.RpcType GET_CATALOGS
user is requesting metadata of catalog(s).
GET_CATALOGS = 14;
public static final UserProtos.RpcType GET_SCHEMAS
user is requesting metadata of schema(s)
GET_SCHEMAS = 15;
public static final UserProtos.RpcType GET_TABLES
user is requesting metadata of table(s)
GET_TABLES = 16;
public static final UserProtos.RpcType GET_COLUMNS
user is requesting metadata of column(s)
GET_COLUMNS = 17;
public static final UserProtos.RpcType CREATE_PREPARED_STATEMENT
user is sending a request to create prepared statement
CREATE_PREPARED_STATEMENT = 22;
public static final UserProtos.RpcType GET_SERVER_META
user is sending a request to receive server metadata
GET_SERVER_META = 8;
public static final UserProtos.RpcType QUERY_DATA
bit to user
QUERY_DATA = 6;
public static final UserProtos.RpcType QUERY_HANDLE
QUERY_HANDLE = 7;
public static final UserProtos.RpcType QUERY_PLAN_FRAGMENTS
return plan fragments
QUERY_PLAN_FRAGMENTS = 13;
public static final UserProtos.RpcType CATALOGS
return catalogs metadata in response to GET_CATALOGS
CATALOGS = 18;
public static final UserProtos.RpcType SCHEMAS
return schema metadata in response to GET_SCHEMAS
SCHEMAS = 19;
public static final UserProtos.RpcType TABLES
return table metadata in response to GET_TABLES
TABLES = 20;
public static final UserProtos.RpcType COLUMNS
return column metadata in response to GET_COLUMNS
COLUMNS = 21;
public static final UserProtos.RpcType PREPARED_STATEMENT
return preparated statement in response to CREATE_PREPARED_STATEMENT
PREPARED_STATEMENT = 23;
public static final UserProtos.RpcType SERVER_META
return server infos in respose to GET_SERVER_META
SERVER_META = 9;
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;
public static final UserProtos.RpcType SASL_MESSAGE
user to bit and bit to user
SASL_MESSAGE = 24;
public static final int HANDSHAKE_VALUE
HANDSHAKE = 0;
public static final int ACK_VALUE
ACK = 1;
public static final int GOODBYE_VALUE
GOODBYE = 2;
public static final int RUN_QUERY_VALUE
user to bit
RUN_QUERY = 3;
public static final int CANCEL_QUERY_VALUE
user is sending a query cancellation request to the drillbit
CANCEL_QUERY = 4;
public static final int REQUEST_RESULTS_VALUE
REQUEST_RESULTS = 5;
public static final int RESUME_PAUSED_QUERY_VALUE
user is sending a query resume request to the drillbit
RESUME_PAUSED_QUERY = 11;
public static final int GET_QUERY_PLAN_FRAGMENTS_VALUE
to get plan fragments from query
GET_QUERY_PLAN_FRAGMENTS = 12;
public static final int GET_CATALOGS_VALUE
user is requesting metadata of catalog(s).
GET_CATALOGS = 14;
public static final int GET_SCHEMAS_VALUE
user is requesting metadata of schema(s)
GET_SCHEMAS = 15;
public static final int GET_TABLES_VALUE
user is requesting metadata of table(s)
GET_TABLES = 16;
public static final int GET_COLUMNS_VALUE
user is requesting metadata of column(s)
GET_COLUMNS = 17;
public static final int CREATE_PREPARED_STATEMENT_VALUE
user is sending a request to create prepared statement
CREATE_PREPARED_STATEMENT = 22;
public static final int GET_SERVER_META_VALUE
user is sending a request to receive server metadata
GET_SERVER_META = 8;
public static final int QUERY_DATA_VALUE
bit to user
QUERY_DATA = 6;
public static final int QUERY_HANDLE_VALUE
QUERY_HANDLE = 7;
public static final int QUERY_PLAN_FRAGMENTS_VALUE
return plan fragments
QUERY_PLAN_FRAGMENTS = 13;
public static final int CATALOGS_VALUE
return catalogs metadata in response to GET_CATALOGS
CATALOGS = 18;
public static final int SCHEMAS_VALUE
return schema metadata in response to GET_SCHEMAS
SCHEMAS = 19;
public static final int TABLES_VALUE
return table metadata in response to GET_TABLES
TABLES = 20;
public static final int COLUMNS_VALUE
return column metadata in response to GET_COLUMNS
COLUMNS = 21;
public static final int PREPARED_STATEMENT_VALUE
return preparated statement in response to CREATE_PREPARED_STATEMENT
PREPARED_STATEMENT = 23;
public static final int SERVER_META_VALUE
return server infos in respose to GET_SERVER_META
SERVER_META = 9;
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;
public static final int SASL_MESSAGE_VALUE
user to bit and bit to user
SASL_MESSAGE = 24;
public static UserProtos.RpcType[] values()
for (UserProtos.RpcType c : UserProtos.RpcType.values()) System.out.println(c);
public static UserProtos.RpcType 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 UserProtos.RpcType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static UserProtos.RpcType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserProtos.RpcType> 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 UserProtos.RpcType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 1970 The Apache Software Foundation. All rights reserved.