QueryContext Classe
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. QueryContext
- com.
public class QueryContext
Define o contexto de consulta usado pelo Bing para a solicitação.
Resumo do método
Modificador e tipo | Método e descrição |
---|---|
Boolean |
adultIntent()
Obtenha o valor adultIntent. |
String |
alterationOverrideQuery()
Obtenha o valor de alterationOverrideQuery. |
String |
alteredQuery()
Obtenha o valor alteredQuery. |
Boolean |
askUserForLocation()
Obtenha o valor askUserForLocation. |
Boolean |
isTransactional()
Obtenha o valor isTransactional. |
String |
originalQuery()
Obtenha o valor originalQuery. |
Query |
withOriginalQuery(String originalQuery)
Defina o valor originalQuery. |
Detalhes do método
adultIntent
public Boolean adultIntent()
Obtenha o valor adultIntent.
Returns:
alterationOverrideQuery
public String alterationOverrideQuery()
Obtenha o valor de alterationOverrideQuery.
Returns:
alteredQuery
public String alteredQuery()
Obtenha o valor alteredQuery.
Returns:
askUserForLocation
public Boolean askUserForLocation()
Obtenha o valor askUserForLocation.
Returns:
isTransactional
public Boolean isTransactional()
Obtenha o valor isTransactional.
Returns:
originalQuery
public String originalQuery()
Obtenha o valor originalQuery.
Returns:
withOriginalQuery
public QueryContext withOriginalQuery(String originalQuery)
Defina o valor originalQuery.
Parameters:
Returns:
Aplica-se a
Azure SDK for Java