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 recordstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionPathInfo(PathCohesionAnalysis.PathCohesionTreeNode cohesionTreeRoot, Map<org.ehrbase.openehr.sdk.aql.dto.operand.IdentifiedPath, Set<org.ehrbase.openehr.aqlengine.pathanalysis.PathInfo.QueryClause>> pathToQueryClause, boolean enableNodeSkipping) -
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, boolean enableNodeSkipping) List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> static booleanstatic booleanhasArchetypeNodeIdAttributeWithPrefix(PathCohesionAnalysis.PathCohesionTreeNode node, String... prefixes) static booleanbooleanbooleanbooleanbooleanstatic 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, boolean enableNodeSkipping)
-
-
Method Details
-
hasNodeIdAttribute
-
hasArchetypeAttribute
-
hasArchetypeNodeIdAttributeWithPrefix
public static boolean hasArchetypeNodeIdAttributeWithPrefix(PathCohesionAnalysis.PathCohesionTreeNode node, String... prefixes) -
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, boolean enableNodeSkipping) -
getCohesionTreeRoot
-
getSkippableNodes
-
isNodeSkippable
-
getJoinConditionTypes
public Map<PathCohesionAnalysis.PathCohesionTreeNode,Set<PathInfo.PathJoinConditionType>> getJoinConditionTypes() -
getJoinConditionTypes
public Set<PathInfo.PathJoinConditionType> getJoinConditionTypes(PathCohesionAnalysis.PathCohesionTreeNode node) -
getNodeCategory
-
getTargetTypes
-
getDvOrderedTypes
-
isUsedInSelect
-
isUsedInWhereOrOrderBy
-
isMultipleValued
-
getPathToNode
public List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> getPathToNode(PathCohesionAnalysis.PathCohesionTreeNode node) -
joinMode
-