Package org.ehrbase.aql.sql.queryimpl
Class CompositionAttributeQuery
java.lang.Object
org.ehrbase.aql.sql.queryimpl.ObjectQuery
org.ehrbase.aql.sql.queryimpl.CompositionAttributeQuery
- All Implemented Interfaces:
IJoinBinder,IQueryImpl
map an AQL datavalue expression into a SQL field
Created by christian on 5/6/2016.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ehrbase.aql.sql.queryimpl.IQueryImpl
IQueryImpl.Clause -
Field Summary
FieldsFields inherited from class org.ehrbase.aql.sql.queryimpl.ObjectQuery
domainAccess, pathResolver, serial -
Constructor Summary
ConstructorsConstructorDescriptionCompositionAttributeQuery(I_DomainAccess domainAccess, PathResolver pathResolver, String serverNodeId, IntrospectService introspectCache) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCompositionAttributeItemStructure(String templateId, String identifier) booleanmakeField(String templateId, String identifier, I_VariableDefinition variableDefinition, IQueryImpl.Clause clause) voidsetUseEntry(boolean b) booleantrue if the expression contains path and then use ENTRY as primary from tablewhereField(String templateId, String identifier, I_VariableDefinition variableDefinition) Methods inherited from class org.ehrbase.aql.sql.queryimpl.ObjectQuery
getContext, getSerial, inc, reset, variableTemplatePath
-
Field Details
-
joinSetup
-
-
Constructor Details
-
CompositionAttributeQuery
public CompositionAttributeQuery(I_DomainAccess domainAccess, PathResolver pathResolver, String serverNodeId, IntrospectService introspectCache)
-
-
Method Details
-
makeField
public MultiFields makeField(String templateId, String identifier, I_VariableDefinition variableDefinition, IQueryImpl.Clause clause) throws UnknownVariableException - Specified by:
makeFieldin interfaceIQueryImpl- Throws:
UnknownVariableException
-
whereField
public MultiFields whereField(String templateId, String identifier, I_VariableDefinition variableDefinition) throws UnknownVariableException - Specified by:
whereFieldin interfaceIQueryImpl- Throws:
UnknownVariableException
-
useFromEntry
public boolean useFromEntry()true if the expression contains path and then use ENTRY as primary from table- Returns:
-
isCompositionAttributeItemStructure
-
setUseEntry
public void setUseEntry(boolean b) -
isUseEntry
public boolean isUseEntry() -
getJoinSetup
-