Class SuggestResultValue
java.lang.Object
com.azure.analytics.purview.datamap.models.SuggestResultValue
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SuggestResultValue>
public final class SuggestResultValue
extends Object
implements com.azure.json.JsonSerializable<SuggestResultValue>
The value item of the search suggest.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SuggestResultValuefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SuggestResultValue from the JsonReader.Get the assetType property: The asset types of the asset.Get the classification property: The classifications of the record.Get the contact property: The contacts of the asset.Get the createTime property: The create time of the record.Get the description property: The description of the asset.Get the endorsement property: The endorsement of the asset.Get the entityType property: The type name of the asset.Get the glossary property: The glossary name of the term.Get the glossaryType property: The type name of the term.getId()Get the id property: The GUID of the record.getLabel()Get the label property: The labels of the asset.Get the longDescription property: The definition of the term.getName()Get the name property: The name of the record.Get the objectType property: The object type of the record.getOwner()Get the owner property: The owner of the record.Get the qualifiedName property: The qualified name of the record.Get the searchScore property: The search score calculated by the search engine.Get the searchText property: The target text that contains the keyword as prefix.getTerm()Get the term property: The terms assigned to the asset.Get the termStatus property: The status of the term.Get the termTemplate property: The term template names used by the term.Get the updateTime property: The last update time of the record.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getSearchScore
Get the searchScore property: The search score calculated by the search engine. The results are ordered by search score by default.- Returns:
- the searchScore value.
-
getSearchText
Get the searchText property: The target text that contains the keyword as prefix. The keyword is wrapped with emphasis mark.- Returns:
- the searchText value.
-
getObjectType
Get the objectType property: The object type of the record. Object type is the top-level property to distinguish whether a record is an asset or a term.- Returns:
- the objectType value.
-
getCreateTime
Get the createTime property: The create time of the record. The Unix epoch format.- Returns:
- the createTime value.
-
getUpdateTime
Get the updateTime property: The last update time of the record. The Unix epoch format.- Returns:
- the updateTime value.
-
getId
Get the id property: The GUID of the record.- Returns:
- the id value.
-
getName
Get the name property: The name of the record.- Returns:
- the name value.
-
getQualifiedName
Get the qualifiedName property: The qualified name of the record.- Returns:
- the qualifiedName value.
-
getEntityType
Get the entityType property: The type name of the asset.- Returns:
- the entityType value.
-
getDescription
Get the description property: The description of the asset.- Returns:
- the description value.
-
getEndorsement
Get the endorsement property: The endorsement of the asset.- Returns:
- the endorsement value.
-
getOwner
Get the owner property: The owner of the record.- Returns:
- the owner value.
-
getClassification
Get the classification property: The classifications of the record.- Returns:
- the classification value.
-
getLabel
Get the label property: The labels of the asset.- Returns:
- the label value.
-
getTerm
Get the term property: The terms assigned to the asset.- Returns:
- the term value.
-
getContact
Get the contact property: The contacts of the asset.- Returns:
- the contact value.
-
getAssetType
Get the assetType property: The asset types of the asset.- Returns:
- the assetType value.
-
getGlossaryType
Get the glossaryType property: The type name of the term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory.- Returns:
- the glossaryType value.
-
getGlossary
Get the glossary property: The glossary name of the term.- Returns:
- the glossary value.
-
getTermStatus
Get the termStatus property: The status of the term.- Returns:
- the termStatus value.
-
getTermTemplate
Get the termTemplate property: The term template names used by the term.- Returns:
- the termTemplate value.
-
getLongDescription
Get the longDescription property: The definition of the term.- Returns:
- the longDescription value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SuggestResultValue>- Throws:
IOException
-
fromJson
Reads an instance of SuggestResultValue from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SuggestResultValue if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SuggestResultValue.
-