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 Details

    • getSearchScore

      public Double 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

      public SearchHighlights 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

      public String 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

      public Long getCreateTime()
      Get the createTime property: The create time of the record. The Unix epoch format.
      Returns:
      the createTime value.
    • getUpdateTime

      public Long getUpdateTime()
      Get the updateTime property: The last update time of the record. The Unix epoch format.
      Returns:
      the updateTime value.
    • getId

      public String getId()
      Get the id property: The GUID of the record.
      Returns:
      the id value.
    • getName

      public String getName()
      Get the name property: The name of the record.
      Returns:
      the name value.
    • getQualifiedName

      public String getQualifiedName()
      Get the qualifiedName property: The qualified name of the record.
      Returns:
      the qualifiedName value.
    • getEntityType

      public String getEntityType()
      Get the entityType property: The type name of the asset.
      Returns:
      the entityType value.
    • getDescription

      public String getDescription()
      Get the description property: The description of the asset.
      Returns:
      the description value.
    • getEndorsement

      public List<String> getEndorsement()
      Get the endorsement property: The endorsement of the asset.
      Returns:
      the endorsement value.
    • getOwner

      public String getOwner()
      Get the owner property: The owner of the record.
      Returns:
      the owner value.
    • getClassification

      public List<String> getClassification()
      Get the classification property: The classifications of the record.
      Returns:
      the classification value.
    • getLabel

      public List<String> getLabel()
      Get the label property: The labels of the asset.
      Returns:
      the label value.
    • getTerm

      public List<TermSearchResultValue> getTerm()
      Get the term property: The terms assigned to the asset.
      Returns:
      the term value.
    • getContact

      public List<ContactSearchResultValue> getContact()
      Get the contact property: The contacts of the asset.
      Returns:
      the contact value.
    • getAssetType

      public List<String> getAssetType()
      Get the assetType property: The asset types of the asset.
      Returns:
      the assetType value.
    • getGlossaryType

      public String getGlossaryType()
      Get the glossaryType property: The type name of the term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory.
      Returns:
      the glossaryType value.
    • getGlossary

      public String getGlossary()
      Get the glossary property: The glossary name of the term.
      Returns:
      the glossary value.
    • getTermStatus

      public String getTermStatus()
      Get the termStatus property: The status of the term.
      Returns:
      the termStatus value.
    • getTermTemplate

      public List<String> getTermTemplate()
      Get the termTemplate property: The term template names used by the term.
      Returns:
      the termTemplate value.
    • getLongDescription

      public String getLongDescription()
      Get the longDescription property: The definition of the term.
      Returns:
      the longDescription value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SearchResultValue>
      Throws:
      IOException
    • fromJson

      public static SearchResultValue fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.