Package org.ehrbase.aql.sql.binding
Class SelectBinder
java.lang.Object
org.ehrbase.aql.sql.queryimpl.TemplateMetaData
org.ehrbase.aql.sql.binding.SelectBinder
- All Implemented Interfaces:
ISelectBinder
Bind the abstract representation of a SELECT clause into a SQL expression
Created by christian on 5/4/2016.
-
Field Summary
FieldsFields inherited from class org.ehrbase.aql.sql.queryimpl.TemplateMetaData
introspectCache -
Constructor Summary
ConstructorsConstructorDescriptionSelectBinder(I_DomainAccess domainAccess, IntrospectService introspectCache, Contains contains, Statements statements, String serverNodeId) -
Method Summary
Modifier and TypeMethodDescriptionbind with path resolution depending on compositionorg.jooq.ConditiongetWhereConditions(String templateId, int whereCursor, MultiFieldsMap multiWhereFieldsMap, int selectCursor, MultiFieldsMap multiSelectFieldsMap)
-
Field Details
-
DATA
- See Also:
-
-
Constructor Details
-
SelectBinder
public SelectBinder(I_DomainAccess domainAccess, IntrospectService introspectCache, Contains contains, Statements statements, String serverNodeId)
-
-
Method Details
-
bind
bind with path resolution depending on composition- Parameters:
templateId-- Returns:
- Throws:
UnknownVariableException
-
getWhereConditions
public org.jooq.Condition getWhereConditions(String templateId, int whereCursor, MultiFieldsMap multiWhereFieldsMap, int selectCursor, MultiFieldsMap multiSelectFieldsMap) throws UnknownVariableException - Throws:
UnknownVariableException
-
getCompositionAttributeQuery
-