Package org.apache.drill.exec.proto
Enum BitControl.RpcType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<BitControl.RpcType>
- Enclosing class:
- BitControl
public static enum BitControl.RpcType
extends Enum<BitControl.RpcType>
implements com.google.protobuf.ProtocolMessageEnum
//// BitControl RPC ///////Protobuf enum
exec.bit.control.RpcType
-
Enum Constant Summary
Enum ConstantDescriptionACK = 1;
GOODBYE = 2;
HANDSHAKE = 0;
get bit status.send a cancellation message for a fragment, returns AckREQ_CUSTOM = 17;
send a fragment status, return Ackbit requestsREQ_QUERY_CANCEL = 15;
REQ_QUERY_STATUS = 10;
REQ_RECEIVER_FINISHED = 7;
send a resume message for a fragment, returns AckRESP_BIT_STATUS = 13;
RESP_CUSTOM = 18;
bit responsesRESP_FRAGMENT_STATUS = 12;
RESP_QUERY_STATUS = 14;
both bit request and response -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ACK = 1;
static final int
GOODBYE = 2;
static final int
HANDSHAKE = 0;
static final int
get bit status.static final int
send a cancellation message for a fragment, returns Ackstatic final int
REQ_CUSTOM = 17;
static final int
send a fragment status, return Ackstatic final int
bit requestsstatic final int
REQ_QUERY_CANCEL = 15;
static final int
REQ_QUERY_STATUS = 10;
static final int
REQ_RECEIVER_FINISHED = 7;
static final int
send a resume message for a fragment, returns Ackstatic final int
RESP_BIT_STATUS = 13;
static final int
RESP_CUSTOM = 18;
static final int
bit responsesstatic final int
RESP_FRAGMENT_STATUS = 12;
static final int
RESP_QUERY_STATUS = 14;
static final int
both bit request and response -
Method Summary
Modifier and TypeMethodDescriptionstatic BitControl.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<BitControl.RpcType>
static BitControl.RpcType
valueOf
(int value) Deprecated.static BitControl.RpcType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static BitControl.RpcType
Returns the enum constant of this type with the specified name.static BitControl.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;
-
REQ_INITIALIZE_FRAGMENTS
bit requests
REQ_INITIALIZE_FRAGMENTS = 3;
-
REQ_CANCEL_FRAGMENT
send a cancellation message for a fragment, returns Ack
REQ_CANCEL_FRAGMENT = 6;
-
REQ_RECEIVER_FINISHED
REQ_RECEIVER_FINISHED = 7;
-
REQ_FRAGMENT_STATUS
send a fragment status, return Ack
REQ_FRAGMENT_STATUS = 8;
-
REQ_BIT_STATUS
get bit status.
REQ_BIT_STATUS = 9;
-
REQ_QUERY_STATUS
REQ_QUERY_STATUS = 10;
-
REQ_QUERY_CANCEL
REQ_QUERY_CANCEL = 15;
-
REQ_UNPAUSE_FRAGMENT
send a resume message for a fragment, returns Ack
REQ_UNPAUSE_FRAGMENT = 16;
-
REQ_CUSTOM
REQ_CUSTOM = 17;
-
RESP_FRAGMENT_HANDLE
bit responses
RESP_FRAGMENT_HANDLE = 11;
-
RESP_FRAGMENT_STATUS
RESP_FRAGMENT_STATUS = 12;
-
RESP_BIT_STATUS
RESP_BIT_STATUS = 13;
-
RESP_QUERY_STATUS
RESP_QUERY_STATUS = 14;
-
RESP_CUSTOM
RESP_CUSTOM = 18;
-
SASL_MESSAGE
both bit request and response
SASL_MESSAGE = 19;
-
-
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:
-
REQ_INITIALIZE_FRAGMENTS_VALUE
public static final int REQ_INITIALIZE_FRAGMENTS_VALUEbit requests
REQ_INITIALIZE_FRAGMENTS = 3;
- See Also:
-
REQ_CANCEL_FRAGMENT_VALUE
public static final int REQ_CANCEL_FRAGMENT_VALUEsend a cancellation message for a fragment, returns Ack
REQ_CANCEL_FRAGMENT = 6;
- See Also:
-
REQ_RECEIVER_FINISHED_VALUE
public static final int REQ_RECEIVER_FINISHED_VALUEREQ_RECEIVER_FINISHED = 7;
- See Also:
-
REQ_FRAGMENT_STATUS_VALUE
public static final int REQ_FRAGMENT_STATUS_VALUEsend a fragment status, return Ack
REQ_FRAGMENT_STATUS = 8;
- See Also:
-
REQ_BIT_STATUS_VALUE
public static final int REQ_BIT_STATUS_VALUEget bit status.
REQ_BIT_STATUS = 9;
- See Also:
-
REQ_QUERY_STATUS_VALUE
public static final int REQ_QUERY_STATUS_VALUEREQ_QUERY_STATUS = 10;
- See Also:
-
REQ_QUERY_CANCEL_VALUE
public static final int REQ_QUERY_CANCEL_VALUEREQ_QUERY_CANCEL = 15;
- See Also:
-
REQ_UNPAUSE_FRAGMENT_VALUE
public static final int REQ_UNPAUSE_FRAGMENT_VALUEsend a resume message for a fragment, returns Ack
REQ_UNPAUSE_FRAGMENT = 16;
- See Also:
-
REQ_CUSTOM_VALUE
public static final int REQ_CUSTOM_VALUEREQ_CUSTOM = 17;
- See Also:
-
RESP_FRAGMENT_HANDLE_VALUE
public static final int RESP_FRAGMENT_HANDLE_VALUEbit responses
RESP_FRAGMENT_HANDLE = 11;
- See Also:
-
RESP_FRAGMENT_STATUS_VALUE
public static final int RESP_FRAGMENT_STATUS_VALUERESP_FRAGMENT_STATUS = 12;
- See Also:
-
RESP_BIT_STATUS_VALUE
public static final int RESP_BIT_STATUS_VALUERESP_BIT_STATUS = 13;
- See Also:
-
RESP_QUERY_STATUS_VALUE
public static final int RESP_QUERY_STATUS_VALUERESP_QUERY_STATUS = 14;
- See Also:
-
RESP_CUSTOM_VALUE
public static final int RESP_CUSTOM_VALUERESP_CUSTOM = 18;
- See Also:
-
SASL_MESSAGE_VALUE
public static final int SASL_MESSAGE_VALUEboth bit request and response
SASL_MESSAGE = 19;
- 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
-