Package org.apache.drill.exec.proto
Enum BitData.RpcType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<BitData.RpcType>
- Enclosing class:
- BitData
public static enum BitData.RpcType
extends Enum<BitData.RpcType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
exec.bit.data.RpcType
-
Enum Constant Summary
Enum ConstantDescriptionACK = 1;
a ack for data tunnel,with a runtime suggested credit as a response.GOODBYE = 2;
HANDSHAKE = 0;
send record batch, returns Acksend runtime filter data from HashJoin to Foreman, from Foreman to Scan nodes.both bit request and response -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ACK = 1;
static final int
a ack for data tunnel,with a runtime suggested credit as a response.static final int
GOODBYE = 2;
static final int
HANDSHAKE = 0;
static final int
send record batch, returns Ackstatic final int
send runtime filter data from HashJoin to Foreman, from Foreman to Scan nodes.static final int
both bit request and response -
Method Summary
Modifier and TypeMethodDescriptionstatic BitData.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<BitData.RpcType>
static BitData.RpcType
valueOf
(int value) Deprecated.static BitData.RpcType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static BitData.RpcType
Returns the enum constant of this type with the specified name.static BitData.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_RECORD_BATCH
send record batch, returns Ack
REQ_RECORD_BATCH = 3;
-
SASL_MESSAGE
both bit request and response
SASL_MESSAGE = 4;
-
REQ_RUNTIME_FILTER
send runtime filter data from HashJoin to Foreman, from Foreman to Scan nodes.
REQ_RUNTIME_FILTER = 5;
-
DATA_ACK_WITH_CREDIT
a ack for data tunnel,with a runtime suggested credit as a response.
DATA_ACK_WITH_CREDIT = 6;
-
-
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_RECORD_BATCH_VALUE
public static final int REQ_RECORD_BATCH_VALUEsend record batch, returns Ack
REQ_RECORD_BATCH = 3;
- See Also:
-
SASL_MESSAGE_VALUE
public static final int SASL_MESSAGE_VALUEboth bit request and response
SASL_MESSAGE = 4;
- See Also:
-
REQ_RUNTIME_FILTER_VALUE
public static final int REQ_RUNTIME_FILTER_VALUEsend runtime filter data from HashJoin to Foreman, from Foreman to Scan nodes.
REQ_RUNTIME_FILTER = 5;
- See Also:
-
DATA_ACK_WITH_CREDIT_VALUE
public static final int DATA_ACK_WITH_CREDIT_VALUEa ack for data tunnel,with a runtime suggested credit as a response.
DATA_ACK_WITH_CREDIT = 6;
- 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
-