Class SearchResult
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datacatalog.model.SearchResult
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class SearchResult extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe search result object is the definition of an element that is returned as part of search.It contains basic information about the object such as key, name and description. The search result also contains the list of tags for each object along with other contextual information like the data asset root, folder, or entity parents. 
 Note: Objects should always be created or deserialized using theSearchResult.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSearchResult.Builder, which maintain a set of all explicitly set fields calledSearchResult.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSearchResult.Builder
 - 
Constructor SummaryConstructors Constructor Description SearchResult(String key, String name, String description, Date timeCreated, Date timeUpdated, List<SearchTagSummary> tagSummary, List<SearchTermSummary> termSummary, String typeName, String externalTypeName, String externalDataType, String dataAssetKey, String dataAssetType, String dataAssetName, String folderKey, String folderType, String folderName, String entitykey, String entityType, String entityName, String glossaryKey, String glossaryName, String parentTermKey, String parentTermName, String createdById, String updatedById, String path, String businessName, LifecycleState lifecycleState, String attributeType, String expression, List<FacetedSearchCustomProperty> customProperties, Map<String,Map<String,String>> properties)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchResult.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAttributeType()Type name of the attribute.StringgetBusinessName()Optional user friendly business name of the data object.StringgetCreatedById()OCID of the user who created the resource.List<FacetedSearchCustomProperty>getCustomProperties()Custom properties defined by users.StringgetDataAssetKey()Unique key of the data asset that is the root parent of this object.StringgetDataAssetName()Name of the data asset that is the root parent of this object.StringgetDataAssetType()Type name of the data asset.StringgetDescription()Detailed description of the object.StringgetEntitykey()Unique key of the entity object if this object is an attribute.StringgetEntityName()Name of the parent entity object if this object is an attribute.StringgetEntityType()Type name of the entity.StringgetExpression()Expression for logical entities against which names of dataObjects will be matched.StringgetExternalDataType()Data type of the object if the object is an attribute.StringgetExternalTypeName()Name of the external object type in the host data asset.StringgetFolderKey()Unique key of the folder object if this object is a sub folder, entity, or attribute.StringgetFolderName()Name of the parent folder object if this object is a sub folder, entity, or attribute.StringgetFolderType()Type name of the folder.StringgetGlossaryKey()Unique id of the parent glossary.StringgetGlossaryName()Name of the parent glossary if this object is a term.StringgetKey()Unique key of the object returned as part of the search result.LifecycleStategetLifecycleState()The current state of the data object.StringgetName()Name of the object.StringgetParentTermKey()This terms parent term key.StringgetParentTermName()Name of the parent term.StringgetPath()Absolute path of this resource, which could be a term, folder, entity etc, usually resolvable to this resource through a namespace hierarchy.Map<String,Map<String,String>>getProperties()A map of maps that contains the properties which are specific to the element type in the search result.List<SearchTagSummary>getTagSummary()Array of the tags associated with this object.List<SearchTermSummary>getTermSummary()Array of the terms associated with this object.DategetTimeCreated()The date and time the result object was created, in the format defined by RFC3339.DategetTimeUpdated()The date and time the result object was updated, in the format defined by RFC3339.StringgetTypeName()Name of the object type.StringgetUpdatedById()OCID of the user who updated the resource.inthashCode()SearchResult.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SearchResult@Deprecated @ConstructorProperties({"key","name","description","timeCreated","timeUpdated","tagSummary","termSummary","typeName","externalTypeName","externalDataType","dataAssetKey","dataAssetType","dataAssetName","folderKey","folderType","folderName","entitykey","entityType","entityName","glossaryKey","glossaryName","parentTermKey","parentTermName","createdById","updatedById","path","businessName","lifecycleState","attributeType","expression","customProperties","properties"}) public SearchResult(String key, String name, String description, Date timeCreated, Date timeUpdated, List<SearchTagSummary> tagSummary, List<SearchTermSummary> termSummary, String typeName, String externalTypeName, String externalDataType, String dataAssetKey, String dataAssetType, String dataAssetName, String folderKey, String folderType, String folderName, String entitykey, String entityType, String entityName, String glossaryKey, String glossaryName, String parentTermKey, String parentTermName, String createdById, String updatedById, String path, String businessName, LifecycleState lifecycleState, String attributeType, String expression, List<FacetedSearchCustomProperty> customProperties, Map<String,Map<String,String>> properties) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SearchResult.Builder builder() Create a new builder.
 - 
toBuilderpublic SearchResult.Builder toBuilder() 
 - 
getKeypublic String getKey() Unique key of the object returned as part of the search result.- Returns:
- the value
 
 - 
getNamepublic String getName() Name of the object.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Detailed description of the object.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the result object was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The date and time the result object was updated, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z - Returns:
- the value
 
 - 
getTagSummarypublic List<SearchTagSummary> getTagSummary() Array of the tags associated with this object.- Returns:
- the value
 
 - 
getTermSummarypublic List<SearchTermSummary> getTermSummary() Array of the terms associated with this object.- Returns:
- the value
 
 - 
getTypeNamepublic String getTypeName() Name of the object type.- Returns:
- the value
 
 - 
getExternalTypeNamepublic String getExternalTypeName() Name of the external object type in the host data asset.For example, column, field, table, view, or file. - Returns:
- the value
 
 - 
getExternalDataTypepublic String getExternalDataType() Data type of the object if the object is an attribute.Null otherwise. - Returns:
- the value
 
 - 
getDataAssetKeypublic String getDataAssetKey() Unique key of the data asset that is the root parent of this object.- Returns:
- the value
 
 - 
getDataAssetTypepublic String getDataAssetType() Type name of the data asset.For example, Oracle, MySQL or Oracle Object Storage. - Returns:
- the value
 
 - 
getDataAssetNamepublic String getDataAssetName() Name of the data asset that is the root parent of this object.- Returns:
- the value
 
 - 
getFolderKeypublic String getFolderKey() Unique key of the folder object if this object is a sub folder, entity, or attribute.- Returns:
- the value
 
 - 
getFolderTypepublic String getFolderType() Type name of the folder.For example, schema, directory, or topic. - Returns:
- the value
 
 - 
getFolderNamepublic String getFolderName() Name of the parent folder object if this object is a sub folder, entity, or attribute.- Returns:
- the value
 
 - 
getEntitykeypublic String getEntitykey() Unique key of the entity object if this object is an attribute.- Returns:
- the value
 
 - 
getEntityTypepublic String getEntityType() Type name of the entity.For example, table, view, external table, file, or object. - Returns:
- the value
 
 - 
getEntityNamepublic String getEntityName() Name of the parent entity object if this object is an attribute.- Returns:
- the value
 
 - 
getGlossaryKeypublic String getGlossaryKey() Unique id of the parent glossary.- Returns:
- the value
 
 - 
getGlossaryNamepublic String getGlossaryName() Name of the parent glossary if this object is a term.- Returns:
- the value
 
 - 
getParentTermKeypublic String getParentTermKey() This terms parent term key.Will be null if the term has no parent term. - Returns:
- the value
 
 - 
getParentTermNamepublic String getParentTermName() Name of the parent term.Will be null if the term has no parent term. - Returns:
- the value
 
 - 
getCreatedByIdpublic String getCreatedById() OCID of the user who created the resource.- Returns:
- the value
 
 - 
getUpdatedByIdpublic String getUpdatedById() OCID of the user who updated the resource.- Returns:
- the value
 
 - 
getPathpublic String getPath() Absolute path of this resource, which could be a term, folder, entity etc, usually resolvable to this resource through a namespace hierarchy.- Returns:
- the value
 
 - 
getBusinessNamepublic String getBusinessName() Optional user friendly business name of the data object.If set, this supplements the harvested display name of the object. - Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() The current state of the data object.- Returns:
- the value
 
 - 
getAttributeTypepublic String getAttributeType() Type name of the attribute.For example - complex, primitive, or array. - Returns:
- the value
 
 - 
getExpressionpublic String getExpression() Expression for logical entities against which names of dataObjects will be matched.- Returns:
- the value
 
 - 
getCustomPropertiespublic List<FacetedSearchCustomProperty> getCustomProperties() Custom properties defined by users.- Returns:
- the value
 
 - 
getPropertiespublic Map<String,Map<String,String>> getProperties() A map of maps that contains the properties which are specific to the element type in the search result.The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most element types have required properties within the “default” category. Example: {“properties”: { “default”: { “key1”: “value1”}}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-