Class QueryAnswerType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<QueryAnswerType>
-
- com.azure.search.documents.models.QueryAnswerType
-
public final class QueryAnswerType extends com.azure.core.util.ExpandableStringEnum<QueryAnswerType>
Defines values for QueryAnswerType.
-
-
Field Summary
Fields Modifier and Type Field Description static QueryAnswerType
EXTRACTIVE
Static value extractive for QueryAnswerType.static QueryAnswerType
NONE
Static value none for QueryAnswerType.
-
Constructor Summary
Constructors Constructor Description QueryAnswerType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryAnswerType
fromString(String name)
Creates or finds a QueryAnswerType from its string representation.static Collection<QueryAnswerType>
values()
-
-
-
Field Detail
-
NONE
public static final QueryAnswerType NONE
Static value none for QueryAnswerType.
-
EXTRACTIVE
public static final QueryAnswerType EXTRACTIVE
Static value extractive for QueryAnswerType.
-
-
Method Detail
-
fromString
public static QueryAnswerType fromString(String name)
Creates or finds a QueryAnswerType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding QueryAnswerType.
-
values
public static Collection<QueryAnswerType> values()
- Returns:
- known QueryAnswerType values.
-
-