Class SearchResultValue
java.lang.Object
com.azure.analytics.purview.datamap.models.SearchResultValue
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchResultValue>
public final class SearchResultValue
extends Object
implements com.azure.json.JsonSerializable<SearchResultValue>
The value item of the search result.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchResultValuefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchResultValue 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 searchHighlights property: A highlight list that consists of index fields id ,qualifiedName, name, description, entityType.Get the searchScore property: The search score calculated by the search engine.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.
-
getSearchHighlights
Get the searchHighlights property: A highlight list that consists of index fields id ,qualifiedName, name, description, entityType. When the keyword appears in those fields, the value of the field, attached with emphasis mark, is returned as an element of @search.highlights.- Returns:
- the searchHighlights 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<SearchResultValue>- Throws:
IOException
-
fromJson
Reads an instance of SearchResultValue from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchResultValue 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 SearchResultValue.
-