Class AbstractEntitySearchOperation
java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractSearchOperation
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractEntitySearchOperation
- Direct Known Subclasses:
FindEntities
,FindEntitiesByPropertyValue
Base class that all search operations that retrieve entities should implement.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractSearchOperation
fromElement, limitResultsByStatus, matchClassifications, pageSize, sequencingOrder, sequencingProperty, typeGUID, userId
Fields inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation
asOfTime, existingDB, xtdb
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractEntitySearchOperation
(XTDBOMRSRepositoryConnector xtdb, String entityTypeGUID, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, SearchClassifications matchClassifications, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize, String userId) -
Method Summary
Modifier and TypeMethodDescriptionPublic interface through which to execute the search operation, which should populate the 'xtdbResults' protected member of this class.Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractSearchOperation
deduplicateAndPage, runQuery, searchXtdb, searchXtdbText, updateQuery
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation
getXtdbObjectByReference
-
Constructor Details
-
AbstractEntitySearchOperation
protected AbstractEntitySearchOperation(XTDBOMRSRepositoryConnector xtdb, String entityTypeGUID, int fromEntityElement, List<InstanceStatus> limitResultsByStatus, SearchClassifications matchClassifications, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize, String userId)
-
-
Method Details
-
getResults
Public interface through which to execute the search operation, which should populate the 'xtdbResults' protected member of this class.- Returns:
List<EntityDetail>
list of results in Egeria form- Throws:
TypeErrorException
- if a requested type for searching is not known to the repositoryRepositoryErrorException
- on any error with the read operation, either closing the datasource or timing out
-