Package org.ehrbase.aql.sql.queryImpl
Class JsonbEntryQuery
- java.lang.Object
-
- org.ehrbase.aql.sql.queryImpl.ObjectQuery
-
- org.ehrbase.aql.sql.queryImpl.JsonbEntryQuery
-
- All Implemented Interfaces:
I_QueryImpl
public class JsonbEntryQuery extends ObjectQuery implements I_QueryImpl
Generate an SQL field corresponding to a JSONB data value query Created by christian on 5/6/2016.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonbEntryQuery.OTHER_ITEMstatic classJsonbEntryQuery.PATH_PART-
Nested classes/interfaces inherited from interface org.ehrbase.aql.sql.queryImpl.I_QueryImpl
I_QueryImpl.Clause
-
-
Field Summary
Fields Modifier and Type Field Description static StringJsquery_CLOSEstatic StringJsquery_COMPOSITION_OPENstatic StringJsquery_EHR_OTHER_CONTEXT_OPENstatic StringJsquery_EHR_OTHER_DETAILS_OPENstatic StringmatchNodePredicatestatic StringTAG_ACTIVITIESstatic StringTAG_COMPOSITIONstatic StringTAG_CONTENTstatic StringTAG_EVENTS-
Fields inherited from class org.ehrbase.aql.sql.queryImpl.ObjectQuery
context, itemType, jsonDataBlock, pathResolver, serial
-
Fields inherited from interface org.ehrbase.aql.sql.queryImpl.I_QueryImpl
AQL_NODE_ITERATIVE_FUNCTION, AQL_NODE_ITERATIVE_MARKER, AQL_NODE_NAME_PREDICATE_FUNCTION, AQL_NODE_NAME_PREDICATE_MARKER, ENV_AQL_ARRAY_DEPTH, ENV_AQL_ARRAY_IGNORE_NODE
-
-
Constructor Summary
Constructors Constructor Description JsonbEntryQuery(org.jooq.DSLContext context, IntrospectService introspectCache, PathResolver pathResolver, String entry_root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJsonbItemPath()booleanisContainsJqueryPath()List<String>jqueryPath(JsonbEntryQuery.PATH_PART path_part, String path, String defaultIndex)org.jooq.Field<?>makeField(String templateId, UUID compositionId, String identifier, I_VariableDefinition variableDefinition, I_QueryImpl.Clause clause)org.jooq.Field<?>makeField(JsonbEntryQuery.OTHER_ITEM type, String path, String alias, String variablePath, boolean withAlias)org.jooq.Field<?>whereField(String templateId, UUID compositionId, String identifier, I_VariableDefinition variableDefinition)-
Methods inherited from class org.ehrbase.aql.sql.queryImpl.ObjectQuery
getItemType, getSerial, inc, isJsonDataBlock, reset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ehrbase.aql.sql.queryImpl.I_QueryImpl
getItemType, isJsonDataBlock
-
-
-
-
Field Detail
-
Jsquery_COMPOSITION_OPEN
public static final String Jsquery_COMPOSITION_OPEN
-
Jsquery_EHR_OTHER_DETAILS_OPEN
public static final String Jsquery_EHR_OTHER_DETAILS_OPEN
-
Jsquery_EHR_OTHER_CONTEXT_OPEN
public static final String Jsquery_EHR_OTHER_CONTEXT_OPEN
-
matchNodePredicate
public static final String matchNodePredicate
- See Also:
- Constant Field Values
-
Jsquery_CLOSE
public static final String Jsquery_CLOSE
- See Also:
- Constant Field Values
-
TAG_COMPOSITION
public static final String TAG_COMPOSITION
- See Also:
- Constant Field Values
-
TAG_CONTENT
public static final String TAG_CONTENT
- See Also:
- Constant Field Values
-
TAG_ACTIVITIES
public static final String TAG_ACTIVITIES
- See Also:
- Constant Field Values
-
TAG_EVENTS
public static final String TAG_EVENTS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JsonbEntryQuery
public JsonbEntryQuery(org.jooq.DSLContext context, IntrospectService introspectCache, PathResolver pathResolver, String entry_root)
-
-
Method Detail
-
jqueryPath
public List<String> jqueryPath(JsonbEntryQuery.PATH_PART path_part, String path, String defaultIndex)
-
makeField
public org.jooq.Field<?> makeField(JsonbEntryQuery.OTHER_ITEM type, String path, String alias, String variablePath, boolean withAlias)
-
makeField
public org.jooq.Field<?> makeField(String templateId, UUID compositionId, String identifier, I_VariableDefinition variableDefinition, I_QueryImpl.Clause clause)
- Specified by:
makeFieldin interfaceI_QueryImpl
-
whereField
public org.jooq.Field<?> whereField(String templateId, UUID compositionId, String identifier, I_VariableDefinition variableDefinition)
- Specified by:
whereFieldin interfaceI_QueryImpl
-
isContainsJqueryPath
public boolean isContainsJqueryPath()
- Specified by:
isContainsJqueryPathin interfaceI_QueryImpl
-
getJsonbItemPath
public String getJsonbItemPath()
- Specified by:
getJsonbItemPathin interfaceI_QueryImpl
-
-