Class FindEntities
- 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.AbstractEntitySearchOperation
-
- org.odpi.egeria.connectors.juxt.xtdb.readops.FindEntities
-
public class FindEntities extends AbstractEntitySearchOperation
Implements the 'findEntities' 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, userId
-
Fields inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
asOfTime, existingDB, xtdb
-
-
Constructor Summary
Constructors Constructor Description FindEntities(XtdbOMRSRepositoryConnector xtdb, String entityTypeGUID, List<String> entitySubtypeGUIDs, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search.SearchProperties matchProperties, int fromEntityElement, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search.SearchClassifications matchClassifications, Date asOfTime, String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize, String userId)Create a new 'findEntities' executable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.AbstractEntitySearchOperation
getResults
-
Methods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractSearchOperation
deduplicateAndPage, searchXtdb, searchXtdbText, updateQuery
-
Methods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
getXtdbObjectByReference
-
-
-
-
Constructor Detail
-
FindEntities
public FindEntities(XtdbOMRSRepositoryConnector xtdb, String entityTypeGUID, List<String> entitySubtypeGUIDs, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search.SearchProperties matchProperties, int fromEntityElement, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.search.SearchClassifications matchClassifications, Date asOfTime, String sequencingProperty, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequencingOrder, int pageSize, String userId)
Create a new 'findEntities' executable.- Parameters:
xtdb- connectivity to XTDBentityTypeGUID- see XtdbOMRSMetadataCollection#findEntitiesentitySubtypeGUIDs- see XtdbOMRSMetadataCollection#findEntitiesmatchProperties- see XtdbOMRSMetadataCollection#findEntitiesfromEntityElement- see XtdbOMRSMetadataCollection#findEntitieslimitResultsByStatus- see XtdbOMRSMetadataCollection#findEntitiesmatchClassifications- see XtdbOMRSMetadataCollection#findEntitiesasOfTime- see XtdbOMRSMetadataCollection#findEntitiessequencingProperty- see XtdbOMRSMetadataCollection#findEntitiessequencingOrder- see XtdbOMRSMetadataCollection#findEntitiespageSize- see XtdbOMRSMetadataCollection#findEntitiesuserId- of the user running the query- See Also:
XtdbOMRSMetadataCollection.findEntities(String, String, List, SearchProperties, int, List, SearchClassifications, Date, String, SequencingOrder, int)
-
-
Method Detail
-
runQuery
protected Collection<List<?>> runQuery(xtdb.api.IXtdbDatasource db) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.TypeErrorException, TimeoutException, 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 repositoryTimeoutException- if the query times outorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException- if there is any issue iterating through the results
-
-