Class FindRelationshipsByPropertyValue
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
org.odpi.egeria.connectors.juxt.xtdb.readops.FindRelationshipsByPropertyValue
Implements the 'findRelationshipsByPropertyValue' operation of the OMRS metadata collection interface.
-
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
ConstructorsConstructorDescriptionFindRelationshipsByPropertyValue(XtdbOMRSRepositoryConnector xtdb, String relationshipTypeGUID, String searchCriteria, int fromRelationshipElement, 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) 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.egeria.connectors.juxt.xtdb.readops.AbstractRelationshipSearchOperation
getResultsMethods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractSearchOperation
deduplicateAndPage, searchXtdb, searchXtdbText, updateQueryMethods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
getXtdbObjectByReference
-
Constructor Details
-
FindRelationshipsByPropertyValue
public FindRelationshipsByPropertyValue(XtdbOMRSRepositoryConnector xtdb, String relationshipTypeGUID, String searchCriteria, int fromRelationshipElement, 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) 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 org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException Interface that must be implemented to actually execute the query logic.- Specified by:
runQueryin classAbstractSearchOperation- Parameters:
db- the datasource against which to run the query- Returns:
Collection<List<?>>of internal XT references (IDs) that match the query- 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- if there is any issue iterating through the results
-