Query Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Query
- com.
public class Query
Defines a search query.
Constructor Summary
Constructor | Description | |
---|---|---|
Query() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
displayText()
Get the display |
java.lang.String |
searchLink()
Get the search |
java.lang.String |
text()
Get the text value. |
Image |
thumbnail()
Get the thumbnail value. |
java.lang.String |
webSearchUrl()
Get the web |
Query |
withText(String text)
Set the text value. |
Methods inherited from java.lang.Object
Constructor Details
Query
public Query()
Method Details
displayText
public String displayText()
Get the displayText value.
Returns:
searchLink
public String searchLink()
Get the searchLink value.
Returns:
text
public String text()
Get the text value.
Returns:
thumbnail
public ImageObject thumbnail()
Get the thumbnail value.
Returns:
webSearchUrl
public String webSearchUrl()
Get the webSearchUrl value.
Returns:
withText
public Query withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour