public static enum HiveMetastore.PartitionFilterMode extends Enum<HiveMetastore.PartitionFilterMode> implements com.google.protobuf.ProtocolMessageEnum
org.apache.hadoop.hive.metastore.grpc.PartitionFilterMode
Enum Constant and Description |
---|
PARTITION_FILTER_MODE_BY_EXPR
PARTITION_FILTER_MODE_BY_EXPR = 3; |
PARTITION_FILTER_MODE_BY_NAMES
PARTITION_FILTER_MODE_BY_NAMES = 1; |
PARTITION_FILTER_MODE_BY_VALUES
PARTITION_FILTER_MODE_BY_VALUES = 2; |
PARTITION_FILTER_MODE_UNSPECIFIED
PARTITION_FILTER_MODE_UNSPECIFIED = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
PARTITION_FILTER_MODE_BY_EXPR_VALUE
PARTITION_FILTER_MODE_BY_EXPR = 3; |
static int |
PARTITION_FILTER_MODE_BY_NAMES_VALUE
PARTITION_FILTER_MODE_BY_NAMES = 1; |
static int |
PARTITION_FILTER_MODE_BY_VALUES_VALUE
PARTITION_FILTER_MODE_BY_VALUES = 2; |
static int |
PARTITION_FILTER_MODE_UNSPECIFIED_VALUE
PARTITION_FILTER_MODE_UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static HiveMetastore.PartitionFilterMode |
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.PartitionFilterMode> |
internalGetValueMap() |
static HiveMetastore.PartitionFilterMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HiveMetastore.PartitionFilterMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HiveMetastore.PartitionFilterMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveMetastore.PartitionFilterMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveMetastore.PartitionFilterMode PARTITION_FILTER_MODE_UNSPECIFIED
PARTITION_FILTER_MODE_UNSPECIFIED = 0;
public static final HiveMetastore.PartitionFilterMode PARTITION_FILTER_MODE_BY_NAMES
PARTITION_FILTER_MODE_BY_NAMES = 1;
public static final HiveMetastore.PartitionFilterMode PARTITION_FILTER_MODE_BY_VALUES
PARTITION_FILTER_MODE_BY_VALUES = 2;
public static final HiveMetastore.PartitionFilterMode PARTITION_FILTER_MODE_BY_EXPR
PARTITION_FILTER_MODE_BY_EXPR = 3;
public static final HiveMetastore.PartitionFilterMode UNRECOGNIZED
public static final int PARTITION_FILTER_MODE_UNSPECIFIED_VALUE
PARTITION_FILTER_MODE_UNSPECIFIED = 0;
public static final int PARTITION_FILTER_MODE_BY_NAMES_VALUE
PARTITION_FILTER_MODE_BY_NAMES = 1;
public static final int PARTITION_FILTER_MODE_BY_VALUES_VALUE
PARTITION_FILTER_MODE_BY_VALUES = 2;
public static final int PARTITION_FILTER_MODE_BY_EXPR_VALUE
PARTITION_FILTER_MODE_BY_EXPR = 3;
public static HiveMetastore.PartitionFilterMode[] values()
for (HiveMetastore.PartitionFilterMode c : HiveMetastore.PartitionFilterMode.values()) System.out.println(c);
public static HiveMetastore.PartitionFilterMode 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 HiveMetastore.PartitionFilterMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static HiveMetastore.PartitionFilterMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HiveMetastore.PartitionFilterMode> 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 HiveMetastore.PartitionFilterMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 The Apache Software Foundation. All rights reserved.