Package org.ehrbase.cli.config
Class CliAqlQueryContext
java.lang.Object
org.ehrbase.cli.config.CliAqlQueryContext
- All Implemented Interfaces:
org.ehrbase.api.dto.AqlQueryContext
@Component("scopedAqlQueryContext")
public class CliAqlQueryContext
extends Object
implements org.ehrbase.api.dto.AqlQueryContext
AQL query context implementation used for EHRbase CLI that can be configured using
-aql-mode=default|dry_run|show_executed_aql|show_executed_sql|show_query_plane params.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ehrbase.api.dto.AqlQueryContext
org.ehrbase.api.dto.AqlQueryContext.EhrbaseMetaProperty, org.ehrbase.api.dto.AqlQueryContext.MetaProperty -
Field Summary
Fields inherited from interface org.ehrbase.api.dto.AqlQueryContext
BEAN_NAME, OPENEHR_REST_API_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.ehrbase.openehr.sdk.response.dto.MetaDatacreateMetaData(URI location) booleanisDryRun()voidsetExecutedAql(String executedAql) voidsetMetaProperty(org.ehrbase.api.dto.AqlQueryContext.MetaProperty property, Object value) booleanbooleanboolean
-
Constructor Details
-
CliAqlQueryContext
public CliAqlQueryContext()
-
-
Method Details
-
createMetaData
- Specified by:
createMetaDatain interfaceorg.ehrbase.api.dto.AqlQueryContext
-
isDryRun
public boolean isDryRun()- Specified by:
isDryRunin interfaceorg.ehrbase.api.dto.AqlQueryContext
-
showExecutedAql
public boolean showExecutedAql()- Specified by:
showExecutedAqlin interfaceorg.ehrbase.api.dto.AqlQueryContext
-
showExecutedSql
public boolean showExecutedSql()- Specified by:
showExecutedSqlin interfaceorg.ehrbase.api.dto.AqlQueryContext
-
showQueryPlan
public boolean showQueryPlan()- Specified by:
showQueryPlanin interfaceorg.ehrbase.api.dto.AqlQueryContext
-
setExecutedAql
- Specified by:
setExecutedAqlin interfaceorg.ehrbase.api.dto.AqlQueryContext
-
setMetaProperty
public void setMetaProperty(org.ehrbase.api.dto.AqlQueryContext.MetaProperty property, Object value) - Specified by:
setMetaPropertyin interfaceorg.ehrbase.api.dto.AqlQueryContext
-