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