@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class SearchResult extends Object
The 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 the SearchResult.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 the SearchResult.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SearchResult.Builder |
Constructor and 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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SearchResult.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCreatedById()
OCID of the user who created the resource.
|
String |
getDataAssetKey()
Unique key of the data asset that is the root parent of this object.
|
String |
getDataAssetName()
Name of the data asset that is the root parent of this object.
|
String |
getDataAssetType()
Type name of the data asset.
|
String |
getDescription()
Detailed description of the object.
|
String |
getEntitykey()
Unique key of the entity object if this object is an attribute.
|
String |
getEntityName()
Name of the parent entity object if this object is an attribute.
|
String |
getEntityType()
Type name of the entity.
|
String |
getExternalDataType()
Data type of the object if the object is an attribute.
|
String |
getExternalTypeName()
Name of the external object type in the host data asset.
|
String |
getFolderKey()
Unique key of the folder object if this object is a sub folder, entity, or attribute.
|
String |
getFolderName()
Name of the parent folder object if this object is a sub folder, entity, or attribute.
|
String |
getFolderType()
Type name of the folder.
|
String |
getGlossaryKey()
Unique id of the parent glossary.
|
String |
getGlossaryName()
Name of the parent glossary if this object is a term.
|
String |
getKey()
Unique key of the object returned as part of the search result.
|
String |
getName()
Name of the object.
|
String |
getParentTermKey()
This terms parent term key.
|
String |
getParentTermName()
Name of the parent term.
|
String |
getPath()
Absolute path of this resource, which could be a term, folder, entity etc, usually resolvable to this resource through a namespace hierarchy.
|
List<SearchTagSummary> |
getTagSummary()
Array of the tags associated with this object.
|
List<SearchTermSummary> |
getTermSummary()
Array of the terms associated with this object.
|
Date |
getTimeCreated()
The date and time the result object was created, in the format defined by RFC3339.
|
Date |
getTimeUpdated()
The date and time the result object was updated, in the format defined by RFC3339.
|
String |
getTypeName()
Name of the object type.
|
String |
getUpdatedById()
OCID of the user who updated the resource.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"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"}) @Deprecated 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)
public static SearchResult.Builder builder()
Create a new builder.
public String getKey()
Unique key of the object returned as part of the search result.
public String getName()
Name of the object.
public String getDescription()
Detailed description of the object.
public Date getTimeCreated()
The date and time the result object was created, in the format defined by RFC3339. Example: 2019-03-25T21:10:29.600Z
public Date getTimeUpdated()
The date and time the result object was updated, in the format defined by RFC3339. Example: 2019-03-25T21:10:29.600Z
public List<SearchTagSummary> getTagSummary()
Array of the tags associated with this object.
public List<SearchTermSummary> getTermSummary()
Array of the terms associated with this object.
public String getTypeName()
Name of the object type.
public String getExternalTypeName()
Name of the external object type in the host data asset. For example, column, field, table, view, or file.
public String getExternalDataType()
Data type of the object if the object is an attribute. Null otherwise.
public String getDataAssetKey()
Unique key of the data asset that is the root parent of this object.
public String getDataAssetType()
Type name of the data asset. For example, Oracle, MySQL or Oracle Object Storage.
public String getDataAssetName()
Name of the data asset that is the root parent of this object.
public String getFolderKey()
Unique key of the folder object if this object is a sub folder, entity, or attribute.
public String getFolderType()
Type name of the folder. For example, schema, directory, or topic.
public String getFolderName()
Name of the parent folder object if this object is a sub folder, entity, or attribute.
public String getEntitykey()
Unique key of the entity object if this object is an attribute.
public String getEntityType()
Type name of the entity. For example, table, view, external table, file, or object.
public String getEntityName()
Name of the parent entity object if this object is an attribute.
public String getGlossaryKey()
Unique id of the parent glossary.
public String getGlossaryName()
Name of the parent glossary if this object is a term.
public String getParentTermKey()
This terms parent term key. Will be null if the term has no parent term.
public String getParentTermName()
Name of the parent term. Will be null if the term has no parent term.
public String getCreatedById()
OCID of the user who created the resource.
public String getUpdatedById()
OCID of the user who updated the resource.
public String getPath()
Absolute path of this resource, which could be a term, folder, entity etc, usually resolvable to this resource through a namespace hierarchy.
Copyright © 2016–2020. All rights reserved.