Class AbstractRelationshipSearchOperation
java.lang.Object
org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractSearchOperation
org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractRelationshipSearchOperation
- Direct Known Subclasses:
FindRelationships,FindRelationshipsByPropertyValue,GetRelationshipsForEntity
Base class that all search operations that retrieve entities should implement.
-
Field Summary
Fields inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractSearchOperation
fromElement, limitResultsByStatus, matchClassifications, pageSize, sequencingOrder, sequencingProperty, typeGUID, userIdFields inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
asOfTime, existingDB, xtdb -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractRelationshipSearchOperation(XtdbOMRSRepositoryConnector xtdb, String typeGUID, int fromElement, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize, String userId) protectedAbstractRelationshipSearchOperation(XtdbOMRSRepositoryConnector xtdb, String typeGUID, int fromElement, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, xtdb.api.IXtdbDatasource existingDB, String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize, String userId) Create a new search operation. -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship>Public interface through which to execute the search operation, which should populate the 'xtdbResults' protected member of this class.Methods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractSearchOperation
deduplicateAndPage, runQuery, searchXtdb, searchXtdbText, updateQueryMethods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
getXtdbObjectByReference
-
Constructor Details
-
AbstractRelationshipSearchOperation
protected AbstractRelationshipSearchOperation(XtdbOMRSRepositoryConnector xtdb, String typeGUID, int fromElement, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize, String userId) -
AbstractRelationshipSearchOperation
protected AbstractRelationshipSearchOperation(XtdbOMRSRepositoryConnector xtdb, String typeGUID, int fromElement, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, xtdb.api.IXtdbDatasource existingDB, String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize, String userId) Create a new search operation.- Parameters:
xtdb- connectivity to XTDBtypeGUID- unique identifier of a type definition by which to limit resultsfromElement- starting element for paged resultslimitResultsByStatus- list of statuses by which to limit resultsexistingDB- the already-opened point-in-time from which to retrieve resultssequencingProperty- the name of the property by which to sort results (only applicable when sorting by property)sequencingOrder- the mechanism to use for sorting resultspageSize- the number of results to include per pageuserId- executing the search
-
-
Method Details
-
getResults
public List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> getResults() throws org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionPublic interface through which to execute the search operation, which should populate the 'xtdbResults' protected member of this class.- Returns:
List<Relationship>list of results in Egeria form- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException- if a requested type for searching is not known to the repositoryorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException- on any error with the read operation, either closing the datasource or timing out
-