public static enum Search.QueryType extends Enum<Search.QueryType> implements com.google.protobuf.ProtocolMessageEnum
限定符和类型 | 字段和说明 |
---|---|
static int |
BOOL_QUERY_VALUE |
static int |
CONST_SCORE_QUERY_VALUE |
static int |
FUNCTION_SCORE_QUERY_VALUE |
static int |
GEO_BOUNDING_BOX_QUERY_VALUE |
static int |
GEO_DISTANCE_QUERY_VALUE |
static int |
GEO_POLYGON_QUERY_VALUE |
static int |
MATCH_ALL_QUERY_VALUE |
static int |
MATCH_PHRASE_QUERY_VALUE |
static int |
MATCH_QUERY_VALUE |
static int |
NESTED_QUERY_VALUE |
static int |
PREFIX_QUERY_VALUE |
static int |
RANGE_QUERY_VALUE |
static int |
TERM_QUERY_VALUE |
static int |
WILDCARD_QUERY_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<Search.QueryType> |
internalGetValueMap() |
static Search.QueryType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Search.QueryType |
valueOf(int value) |
static Search.QueryType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Search.QueryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Search.QueryType MATCH_QUERY
public static final Search.QueryType MATCH_PHRASE_QUERY
public static final Search.QueryType TERM_QUERY
public static final Search.QueryType RANGE_QUERY
public static final Search.QueryType PREFIX_QUERY
public static final Search.QueryType BOOL_QUERY
public static final Search.QueryType CONST_SCORE_QUERY
public static final Search.QueryType FUNCTION_SCORE_QUERY
public static final Search.QueryType NESTED_QUERY
public static final Search.QueryType WILDCARD_QUERY
public static final Search.QueryType MATCH_ALL_QUERY
public static final Search.QueryType GEO_BOUNDING_BOX_QUERY
public static final Search.QueryType GEO_DISTANCE_QUERY
public static final Search.QueryType GEO_POLYGON_QUERY
public static final int MATCH_QUERY_VALUE
public static final int MATCH_PHRASE_QUERY_VALUE
public static final int TERM_QUERY_VALUE
public static final int RANGE_QUERY_VALUE
public static final int PREFIX_QUERY_VALUE
public static final int BOOL_QUERY_VALUE
public static final int CONST_SCORE_QUERY_VALUE
public static final int FUNCTION_SCORE_QUERY_VALUE
public static final int NESTED_QUERY_VALUE
public static final int WILDCARD_QUERY_VALUE
public static final int MATCH_ALL_QUERY_VALUE
public static final int GEO_BOUNDING_BOX_QUERY_VALUE
public static final int GEO_DISTANCE_QUERY_VALUE
public static final int GEO_POLYGON_QUERY_VALUE
public static Search.QueryType[] values()
for (Search.QueryType c : Search.QueryType.values()) System.out.println(c);
public static Search.QueryType valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public final int getNumber()
getNumber
在接口中 com.google.protobuf.Internal.EnumLite
getNumber
在接口中 com.google.protobuf.ProtocolMessageEnum
public static Search.QueryType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Search.QueryType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
在接口中 com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
在接口中 com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Search.QueryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All Rights Reserved.