Class FindRelationshipsByPropertyValue
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.AbstractRelationshipSearchOperation
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.FindRelationshipsByPropertyValue
Implements the 'findRelationshipsByPropertyValue' operation of the OMRS metadata collection interface.
-
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
ConstructorDescriptionFindRelationshipsByPropertyValue
(XTDBOMRSRepositoryConnector xtdb, String relationshipTypeGUID, String searchCriteria, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize, String userId) Create a new 'findRelationshipsByPropertyValue' executable. -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<List<?>>
runQuery
(xtdb.api.IXtdbDatasource db) Interface that must be implemented to actually execute the query logic.Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractRelationshipSearchOperation
getResults
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractSearchOperation
deduplicateAndPage, searchXtdb, searchXtdbText, updateQuery
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.readops.AbstractReadOperation
getXtdbObjectByReference
-
Constructor Details
-
FindRelationshipsByPropertyValue
public FindRelationshipsByPropertyValue(XTDBOMRSRepositoryConnector xtdb, String relationshipTypeGUID, String searchCriteria, int fromRelationshipElement, List<InstanceStatus> limitResultsByStatus, Date asOfTime, String sequencingProperty, SequencingOrder sequencingOrder, int pageSize, String userId) Create a new 'findRelationshipsByPropertyValue' executable.- Parameters:
xtdb
- connectivity to XTDBrelationshipTypeGUID
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValuesearchCriteria
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValuefromRelationshipElement
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValuelimitResultsByStatus
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValueasOfTime
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValuesequencingProperty
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValuesequencingOrder
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValuepageSize
- see XTDBOMRSMetadataCollection#findRelationshipsByPropertyValueuserId
- of the user running the query- See Also:
-
-
Method Details
-
runQuery
protected Collection<List<?>> runQuery(xtdb.api.IXtdbDatasource db) throws TypeErrorException, RepositoryErrorException Interface that must be implemented to actually execute the query logic.- Specified by:
runQuery
in classAbstractSearchOperation
- Parameters:
db
- the datasource against which to run the query- Returns:
Collection<List<?>>
of internal XT references (IDs) that match the query- Throws:
TypeErrorException
- if a requested type for searching is not known to the repositoryRepositoryErrorException
- if there is any issue iterating through the results
-