Class PathInfo
java.lang.Object
org.ehrbase.openehr.aqlengine.pathanalysis.PathInfo
Provides an analysis of a Path Cohesion Tree
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe number of (structure) children and if data is retrieved determines how a path node needs to be joined.static final record -
Constructor Summary
ConstructorsConstructorDescriptionPathInfo(PathCohesionAnalysis.PathCohesionTreeNode cohesionTreeRoot, Map<org.ehrbase.openehr.sdk.aql.dto.operand.IdentifiedPath, Set<org.ehrbase.openehr.aqlengine.pathanalysis.PathInfo.QueryClause>> pathToQueryClause) -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<ContainsWrapper, PathInfo> createPathInfos(org.ehrbase.openehr.sdk.aql.dto.AqlQuery aqlQuery, Map<org.ehrbase.openehr.sdk.aql.dto.containment.AbstractContainmentExpression, ContainsWrapper> containsDescs) List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> booleanbooleanbooleanstatic ANode.NodeCategorystatic List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> pathNodes(org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath path)
-
Constructor Details
-
PathInfo
public PathInfo(PathCohesionAnalysis.PathCohesionTreeNode cohesionTreeRoot, Map<org.ehrbase.openehr.sdk.aql.dto.operand.IdentifiedPath, Set<org.ehrbase.openehr.aqlengine.pathanalysis.PathInfo.QueryClause>> pathToQueryClause)
-
-
Method Details
-
mergeNodeCategories
-
pathNodes
public static List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> pathNodes(org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath path) -
createPathInfos
public static Map<ContainsWrapper,PathInfo> createPathInfos(org.ehrbase.openehr.sdk.aql.dto.AqlQuery aqlQuery, Map<org.ehrbase.openehr.sdk.aql.dto.containment.AbstractContainmentExpression, ContainsWrapper> containsDescs) -
getCohesionTreeRoot
-
getNodeCategory
-
getTargetTypes
-
getDvOrderedTypes
-
isUsedInSelect
-
isUsedInWhereOrOrderBy
-
isMultipleValued
-
getPathToNode
public List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> getPathToNode(PathCohesionAnalysis.PathCohesionTreeNode node) -
joinMode
-