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
public class SelectBinder extends TemplateMetaData implements ISelectBinder
Bind the abstract representation of a SELECT clause into a SQL expression Created by christian on 5/4/2016.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATA-
Fields inherited from class org.ehrbase.aql.sql.queryimpl.TemplateMetaData
introspectCache
-
-
Constructor Summary
Constructors Constructor Description SelectBinder(I_DomainAccess domainAccess, IntrospectService introspectCache, Contains contains, Statements statements, String serverNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MultiFields>bind(String templateId)bind with path resolution depending on compositionCompositionAttributeQuerygetCompositionAttributeQuery()org.jooq.ConditiongetWhereConditions(String templateId, int whereCursor, MultiFieldsMap multiWhereFieldsMap, MultiFieldsMap multiSelectFieldsMap)
-
-
-
Field Detail
-
DATA
public static final String DATA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SelectBinder
public SelectBinder(I_DomainAccess domainAccess, IntrospectService introspectCache, Contains contains, Statements statements, String serverNodeId)
-
-
Method Detail
-
bind
public List<MultiFields> bind(String templateId)
bind with path resolution depending on composition- Parameters:
templateId-- Returns:
-
getWhereConditions
public org.jooq.Condition getWhereConditions(String templateId, int whereCursor, MultiFieldsMap multiWhereFieldsMap, MultiFieldsMap multiSelectFieldsMap)
-
getCompositionAttributeQuery
public CompositionAttributeQuery getCompositionAttributeQuery()
-
-