Class GetEntityNeighborhood
- java.lang.Object
-
- org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
-
- org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractGraphOperation
-
- org.odpi.egeria.connectors.juxt.xtdb.readops.GetEntityNeighborhood
-
public class GetEntityNeighborhood extends AbstractGraphOperation
Implements the 'getEntityNeighborhood' operation of the OMRS metadata collection interface.
-
-
Field Summary
-
Fields inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractGraphOperation
limitResultsByStatus, startEntityGUID
-
Fields inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
asOfTime, existingDB, xtdb
-
-
Constructor Summary
Constructors Constructor Description GetEntityNeighborhood(XtdbOMRSRepositoryConnector xtdb, String entityGUID, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, int level)Create a new getEntityNeighborhood operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceGraphexecute()Execute the getEntityNeighborhood operation.-
Methods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractGraphOperation
findDirectNeighbors, findNeighborhood, getEntityRefFromGraphTuple, getNextLevelNeighbors, resultsToGraph
-
Methods inherited from class org.odpi.egeria.connectors.juxt.xtdb.readops.AbstractReadOperation
getXtdbObjectByReference
-
-
-
-
Constructor Detail
-
GetEntityNeighborhood
public GetEntityNeighborhood(XtdbOMRSRepositoryConnector xtdb, String entityGUID, List<String> entityTypeGUIDs, List<String> relationshipTypeGUIDs, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus> limitResultsByStatus, List<String> limitResultsByClassification, Date asOfTime, int level)
Create a new getEntityNeighborhood operation.- Parameters:
xtdb- connectivity to XTDBentityGUID- the starting point of the queryentityTypeGUIDs- list of entity types to include in the query results (null means include all entities found, irrespective of their type)relationshipTypeGUIDs- list of relationship types to include in the query results (null means include all relationships found, irrespective of their type)limitResultsByStatus- list of statuses by which to limit resultslimitResultsByClassification- list of classifications that must be present on all returned entitiesasOfTime- the point-in-time for which to retrieve resultslevel- the number of the relationships out from the starting entity the query will traverse to gather results
-
-
Method Detail
-
execute
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceGraph execute() throws org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException, org.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorExceptionExecute the getEntityNeighborhood operation.- Returns:
- InstanceGraph of results
- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.EntityNotKnownException- if the starting entity for the traversal cannot be foundorg.odpi.openmetadata.repositoryservices.ffdc.exception.RepositoryErrorException- on any other connectivity or resource usage error
-
-