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:
I_SelectBinder
public class SelectBinder extends TemplateMetaData implements I_SelectBinder
Bind the abstract representation of a SELECT clause into a SQL expression Created by christian on 5/4/2016.
-
-
Field Summary
-
Fields inherited from class org.ehrbase.aql.sql.queryImpl.TemplateMetaData
introspectCache
-
Fields inherited from interface org.ehrbase.aql.sql.binding.I_SelectBinder
COMPOSITION_UID, DATA
-
-
Constructor Summary
Constructors Constructor Description SelectBinder(org.jooq.DSLContext context, IntrospectService introspectCache, Contains contains, Statements statements, String serverNodeId, String entry_root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jooq.SelectQuery<org.jooq.Record>bind(String template_id, UUID comp_id)bind with path resolution depending on compositionbooleancontainsJQueryPath()CompositionAttributeQuerygetCompositionAttributeQuery()List<JsonbBlockDef>getJsonDataBlock()org.jooq.ConditiongetWhereConditions(String templateId, UUID comp_id)booleanisWholeComposition()SelectBindersetUsePgExtensions(boolean usePgExtensions)
-
-
-
Constructor Detail
-
SelectBinder
public SelectBinder(org.jooq.DSLContext context, IntrospectService introspectCache, Contains contains, Statements statements, String serverNodeId, String entry_root)
-
-
Method Detail
-
bind
public org.jooq.SelectQuery<org.jooq.Record> bind(String template_id, UUID comp_id)
bind with path resolution depending on composition- Parameters:
comp_id-- Returns:
-
containsJQueryPath
public boolean containsJQueryPath()
-
getCompositionAttributeQuery
public CompositionAttributeQuery getCompositionAttributeQuery()
-
getJsonDataBlock
public List<JsonbBlockDef> getJsonDataBlock()
-
isWholeComposition
public boolean isWholeComposition()
-
setUsePgExtensions
public SelectBinder setUsePgExtensions(boolean usePgExtensions)
-
-