Package org.ehrbase.aql.sql.queryimpl
Class MultiFieldsMap
java.lang.Object
org.ehrbase.aql.sql.queryimpl.MultiFieldsMap
- Direct Known Subclasses:
MultiFieldsMultiMap
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmatchingLateralJoin(String templateId, String candidateLateralExpression) traverse the list of existing definition and identify a lateral join matching this variable path, template and SQL expressionstatic Optional<LateralJoinDefinition>matchingLateralJoin(Collection<MultiFields> multiFieldsCollection, String templateId, String candidateLateralExpression) traverse the list of existing definition and identify a lateral join matching this variable path, template and SQL expressionintreturn the upper limit of all paths in the map
-
Field Details
-
multiFieldsListAsMap
-
-
Constructor Details
-
MultiFieldsMap
-
MultiFieldsMap
public MultiFieldsMap()
-
-
Method Details
-
get
-
get
-
multiFieldsIterator
-
upperPathBoundary
public int upperPathBoundary()return the upper limit of all paths in the map -
matchingLateralJoin
public Optional<LateralJoinDefinition> matchingLateralJoin(String templateId, String candidateLateralExpression) traverse the list of existing definition and identify a lateral join matching this variable path, template and SQL expression- Parameters:
templateId-candidateLateralExpression-- Returns:
-
matchingLateralJoin
public static Optional<LateralJoinDefinition> matchingLateralJoin(Collection<MultiFields> multiFieldsCollection, String templateId, String candidateLateralExpression) traverse the list of existing definition and identify a lateral join matching this variable path, template and SQL expression- Parameters:
multiFieldsCollection-templateId-candidateLateralExpression-- Returns:
-