QueryLanguage Class

public final class QueryLanguage
extends ExpandableStringEnum<QueryLanguage>

The language of the query.

Field Summary

Modifier and Type Field and Description
static final QueryLanguage AR_EG

Query language value for Arabic (Egypt).

static final QueryLanguage AR_JO

Query language value for Arabic (Jordan).

static final QueryLanguage AR_KW

Query language value for Arabic (Kuwait).

static final QueryLanguage AR_MA

Query language value for Arabic (Morocco).

static final QueryLanguage AR_SA

Query language value for Arabic (Saudi Arabia).

static final QueryLanguage BG_BG

Query language value for Bulgarian (Bulgaria).

static final QueryLanguage BN_IN

Query language value for Bengali (India).

static final QueryLanguage CA_ES

Query language value for Catalan.

static final QueryLanguage CS_CZ

Query language value for Czech (Czech Republic).

static final QueryLanguage DA_DK

Query language value for Danish (Denmark).

static final QueryLanguage DE_DE

Query language value for German (Germany).

static final QueryLanguage EL_GR

Query language value for Greek (Greece).

static final QueryLanguage EN_AU

Query language value for English (Australia).

static final QueryLanguage EN_CA

Query language value for English (Canada).

static final QueryLanguage EN_GB

Query language value for English (Great Britain).

static final QueryLanguage EN_IN

Query language value for English (India).

static final QueryLanguage EN_US

Query language value for English (United States).

static final QueryLanguage ES_ES

Query language value for Spanish (Spain).

static final QueryLanguage ES_MX

Query language value for Spanish (Mexico).

static final QueryLanguage ET_EE

Query language value for Estonian (Estonia).

static final QueryLanguage EU_ES

Query language value for Basque.

static final QueryLanguage FA_AE

Query language value for Persian (U.A.E.).

static final QueryLanguage FI_FI

Query language value for Finnish (Finland).

static final QueryLanguage FR_CA

Query language value for French (Canada).

static final QueryLanguage FR_FR

Query language value for French (France).

static final QueryLanguage GA_IE

Query language value for Irish (Ireland).

static final QueryLanguage GL_ES

Query language value for Galician.

static final QueryLanguage GU_IN

Query language value for Gujarati (India).

static final QueryLanguage HE_IL

Query language value for Hebrew (Israel).

static final QueryLanguage HI_IN

Query language value for Hindi (India).

static final QueryLanguage HR_BA

Query language value for Croatian (Bosnia and Herzegovina).

static final QueryLanguage HR_HR

Query language value for Croatian (Croatia).

static final QueryLanguage HU_HU

Query language value for Hungarian (Hungary).

static final QueryLanguage HY_AM

Query language value for Armenian (Armenia).

static final QueryLanguage ID_ID

Query language value for Indonesian (Indonesia).

static final QueryLanguage IS_IS

Query language value for Icelandic (Iceland).

static final QueryLanguage IT_IT

Query language value for Italian (Italy).

static final QueryLanguage JA_JP

Query language value for Japanese (Japan).

static final QueryLanguage KN_IN

Query language value for Kannada (India).

static final QueryLanguage KO_KR

Query language value for Korean (Korea).

static final QueryLanguage LT_LT

Query language value for Lithuanian (Lithuania).

static final QueryLanguage LV_LV

Query language value for Latvian (Latvia).

static final QueryLanguage ML_IN

Query language value for Malayalam (India).

static final QueryLanguage MR_IN

Query language value for Marathi (India).

static final QueryLanguage MS_BN

Query language value for Malay (Brunei Darussalam).

static final QueryLanguage MS_MY

Query language value for Malay (Malaysia).

static final QueryLanguage NB_NO

Query language value for Norwegian (Norway).

static final QueryLanguage NL_BE

Query language value for Dutch (Belgium).

static final QueryLanguage NL_NL

Query language value for Dutch (Netherlands).

static final QueryLanguage NONE

Query language not specified.

static final QueryLanguage NO_NO

Query language value for Norwegian (Norway).

static final QueryLanguage PA_IN

Query language value for Punjabi (India).

static final QueryLanguage PL_PL

Query language value for Polish (Poland).

static final QueryLanguage PT_BR

Query language value for Portuguese (Brazil).

static final QueryLanguage PT_PT

Query language value for Portuguese (Portugal).

static final QueryLanguage RO_RO

Query language value for Romanian (Romania).

static final QueryLanguage RU_RU

Query language value for Russian (Russia).

static final QueryLanguage SK_SK

Query language value for Slovak (Slovakia).

static final QueryLanguage SL_SL

Query language value for Slovenian (Slovenia).

static final QueryLanguage SR_BA

Query language value for Serbian (Bosnia and Herzegovina).

static final QueryLanguage SR_ME

Query language value for Serbian (Montenegro).

static final QueryLanguage SR_RS

Query language value for Serbian (Serbia).

static final QueryLanguage SV_SE

Query language value for Swedish (Sweden).

static final QueryLanguage TA_IN

Query language value for Tamil (India).

static final QueryLanguage TE_IN

Query language value for Telugu (India).

static final QueryLanguage TH_TH

Query language value for Thai (Thailand).

static final QueryLanguage TR_TR

Query language value for Turkish (Turkey).

static final QueryLanguage UK_UA

Query language value for Ukrainian (Ukraine).

static final QueryLanguage UR_PK

Query language value for Urdu (Pakistan).

static final QueryLanguage VI_VN

Query language value for Vietnamese (Viet Nam).

static final QueryLanguage ZH_CN

Query language value for Chinese (China).

static final QueryLanguage ZH_TW

Query language value for Chinese (Taiwan).

Constructor Summary

Constructor Description
QueryLanguage()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of QueryLanguage value.

Method Summary

Modifier and Type Method and Description
static QueryLanguage fromString(String name)

Creates or finds a QueryLanguage from its string representation.

static Collection<QueryLanguage> values()

Gets known QueryLanguage values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AR_EG

public static final QueryLanguage AR_EG

Query language value for Arabic (Egypt).

AR_JO

public static final QueryLanguage AR_JO

Query language value for Arabic (Jordan).

AR_KW

public static final QueryLanguage AR_KW

Query language value for Arabic (Kuwait).

AR_MA

public static final QueryLanguage AR_MA

Query language value for Arabic (Morocco).

AR_SA

public static final QueryLanguage AR_SA

Query language value for Arabic (Saudi Arabia).

BG_BG

public static final QueryLanguage BG_BG

Query language value for Bulgarian (Bulgaria).

BN_IN

public static final QueryLanguage BN_IN

Query language value for Bengali (India).

CA_ES

public static final QueryLanguage CA_ES

Query language value for Catalan.

CS_CZ

public static final QueryLanguage CS_CZ

Query language value for Czech (Czech Republic).

DA_DK

public static final QueryLanguage DA_DK

Query language value for Danish (Denmark).

DE_DE

public static final QueryLanguage DE_DE

Query language value for German (Germany).

EL_GR

public static final QueryLanguage EL_GR

Query language value for Greek (Greece).

EN_AU

public static final QueryLanguage EN_AU

Query language value for English (Australia).

EN_CA

public static final QueryLanguage EN_CA

Query language value for English (Canada).

EN_GB

public static final QueryLanguage EN_GB

Query language value for English (Great Britain).

EN_IN

public static final QueryLanguage EN_IN

Query language value for English (India).

EN_US

public static final QueryLanguage EN_US

Query language value for English (United States).

ES_ES

public static final QueryLanguage ES_ES

Query language value for Spanish (Spain).

ES_MX

public static final QueryLanguage ES_MX

Query language value for Spanish (Mexico).

ET_EE

public static final QueryLanguage ET_EE

Query language value for Estonian (Estonia).

EU_ES

public static final QueryLanguage EU_ES

Query language value for Basque.

FA_AE

public static final QueryLanguage FA_AE

Query language value for Persian (U.A.E.).

FI_FI

public static final QueryLanguage FI_FI

Query language value for Finnish (Finland).

FR_CA

public static final QueryLanguage FR_CA

Query language value for French (Canada).

FR_FR

public static final QueryLanguage FR_FR

Query language value for French (France).

GA_IE

public static final QueryLanguage GA_IE

Query language value for Irish (Ireland).

GL_ES

public static final QueryLanguage GL_ES

Query language value for Galician.

GU_IN

public static final QueryLanguage GU_IN

Query language value for Gujarati (India).

HE_IL

public static final QueryLanguage HE_IL

Query language value for Hebrew (Israel).

HI_IN

public static final QueryLanguage HI_IN

Query language value for Hindi (India).

HR_BA

public static final QueryLanguage HR_BA

Query language value for Croatian (Bosnia and Herzegovina).

HR_HR

public static final QueryLanguage HR_HR

Query language value for Croatian (Croatia).

HU_HU

public static final QueryLanguage HU_HU

Query language value for Hungarian (Hungary).

HY_AM

public static final QueryLanguage HY_AM

Query language value for Armenian (Armenia).

ID_ID

public static final QueryLanguage ID_ID

Query language value for Indonesian (Indonesia).

IS_IS

public static final QueryLanguage IS_IS

Query language value for Icelandic (Iceland).

IT_IT

public static final QueryLanguage IT_IT

Query language value for Italian (Italy).

JA_JP

public static final QueryLanguage JA_JP

Query language value for Japanese (Japan).

KN_IN

public static final QueryLanguage KN_IN

Query language value for Kannada (India).

KO_KR

public static final QueryLanguage KO_KR

Query language value for Korean (Korea).

LT_LT

public static final QueryLanguage LT_LT

Query language value for Lithuanian (Lithuania).

LV_LV

public static final QueryLanguage LV_LV

Query language value for Latvian (Latvia).

ML_IN

public static final QueryLanguage ML_IN

Query language value for Malayalam (India).

MR_IN

public static final QueryLanguage MR_IN

Query language value for Marathi (India).

MS_BN

public static final QueryLanguage MS_BN

Query language value for Malay (Brunei Darussalam).

MS_MY

public static final QueryLanguage MS_MY

Query language value for Malay (Malaysia).

NB_NO

public static final QueryLanguage NB_NO

Query language value for Norwegian (Norway).

NL_BE

public static final QueryLanguage NL_BE

Query language value for Dutch (Belgium).

NL_NL

public static final QueryLanguage NL_NL

Query language value for Dutch (Netherlands).

NONE

public static final QueryLanguage NONE

Query language not specified.

NO_NO

public static final QueryLanguage NO_NO

Query language value for Norwegian (Norway).

PA_IN

public static final QueryLanguage PA_IN

Query language value for Punjabi (India).

PL_PL

public static final QueryLanguage PL_PL

Query language value for Polish (Poland).

PT_BR

public static final QueryLanguage PT_BR

Query language value for Portuguese (Brazil).

PT_PT

public static final QueryLanguage PT_PT

Query language value for Portuguese (Portugal).

RO_RO

public static final QueryLanguage RO_RO

Query language value for Romanian (Romania).

RU_RU

public static final QueryLanguage RU_RU

Query language value for Russian (Russia).

SK_SK

public static final QueryLanguage SK_SK

Query language value for Slovak (Slovakia).

SL_SL

public static final QueryLanguage SL_SL

Query language value for Slovenian (Slovenia).

SR_BA

public static final QueryLanguage SR_BA

Query language value for Serbian (Bosnia and Herzegovina).

SR_ME

public static final QueryLanguage SR_ME

Query language value for Serbian (Montenegro).

SR_RS

public static final QueryLanguage SR_RS

Query language value for Serbian (Serbia).

SV_SE

public static final QueryLanguage SV_SE

Query language value for Swedish (Sweden).

TA_IN

public static final QueryLanguage TA_IN

Query language value for Tamil (India).

TE_IN

public static final QueryLanguage TE_IN

Query language value for Telugu (India).

TH_TH

public static final QueryLanguage TH_TH

Query language value for Thai (Thailand).

TR_TR

public static final QueryLanguage TR_TR

Query language value for Turkish (Turkey).

UK_UA

public static final QueryLanguage UK_UA

Query language value for Ukrainian (Ukraine).

UR_PK

public static final QueryLanguage UR_PK

Query language value for Urdu (Pakistan).

VI_VN

public static final QueryLanguage VI_VN

Query language value for Vietnamese (Viet Nam).

ZH_CN

public static final QueryLanguage ZH_CN

Query language value for Chinese (China).

ZH_TW

public static final QueryLanguage ZH_TW

Query language value for Chinese (Taiwan).

Constructor Details

QueryLanguage

@Deprecated
public QueryLanguage()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of QueryLanguage value.

Method Details

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()

Gets known QueryLanguage values.

Returns:

known QueryLanguage values.

Applies to