public static enum HiveMetastore.WMPoolSchedulingPolicy extends Enum<HiveMetastore.WMPoolSchedulingPolicy> implements com.google.protobuf.ProtocolMessageEnum
org.apache.hadoop.hive.metastore.grpc.WMPoolSchedulingPolicy| Enum Constant and Description |
|---|
UNRECOGNIZED |
WMPOOL_SCHEDULING_POLICY_FAIR
WMPOOL_SCHEDULING_POLICY_FAIR = 1; |
WMPOOL_SCHEDULING_POLICY_FIFO
WMPOOL_SCHEDULING_POLICY_FIFO = 2; |
WMPOOL_SCHEDULING_POLICY_UNSPECIFIED
WMPOOL_SCHEDULING_POLICY_UNSPECIFIED = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
WMPOOL_SCHEDULING_POLICY_FAIR_VALUE
WMPOOL_SCHEDULING_POLICY_FAIR = 1; |
static int |
WMPOOL_SCHEDULING_POLICY_FIFO_VALUE
WMPOOL_SCHEDULING_POLICY_FIFO = 2; |
static int |
WMPOOL_SCHEDULING_POLICY_UNSPECIFIED_VALUE
WMPOOL_SCHEDULING_POLICY_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static HiveMetastore.WMPoolSchedulingPolicy |
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<HiveMetastore.WMPoolSchedulingPolicy> |
internalGetValueMap() |
static HiveMetastore.WMPoolSchedulingPolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HiveMetastore.WMPoolSchedulingPolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HiveMetastore.WMPoolSchedulingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveMetastore.WMPoolSchedulingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveMetastore.WMPoolSchedulingPolicy WMPOOL_SCHEDULING_POLICY_UNSPECIFIED
WMPOOL_SCHEDULING_POLICY_UNSPECIFIED = 0;public static final HiveMetastore.WMPoolSchedulingPolicy WMPOOL_SCHEDULING_POLICY_FAIR
WMPOOL_SCHEDULING_POLICY_FAIR = 1;public static final HiveMetastore.WMPoolSchedulingPolicy WMPOOL_SCHEDULING_POLICY_FIFO
WMPOOL_SCHEDULING_POLICY_FIFO = 2;public static final HiveMetastore.WMPoolSchedulingPolicy UNRECOGNIZED
public static final int WMPOOL_SCHEDULING_POLICY_UNSPECIFIED_VALUE
WMPOOL_SCHEDULING_POLICY_UNSPECIFIED = 0;public static final int WMPOOL_SCHEDULING_POLICY_FAIR_VALUE
WMPOOL_SCHEDULING_POLICY_FAIR = 1;public static final int WMPOOL_SCHEDULING_POLICY_FIFO_VALUE
WMPOOL_SCHEDULING_POLICY_FIFO = 2;public static HiveMetastore.WMPoolSchedulingPolicy[] values()
for (HiveMetastore.WMPoolSchedulingPolicy c : HiveMetastore.WMPoolSchedulingPolicy.values()) System.out.println(c);
public static HiveMetastore.WMPoolSchedulingPolicy 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static HiveMetastore.WMPoolSchedulingPolicy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HiveMetastore.WMPoolSchedulingPolicy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HiveMetastore.WMPoolSchedulingPolicy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HiveMetastore.WMPoolSchedulingPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 The Apache Software Foundation. All rights reserved.