Package org.ehrbase.aql.compiler
Class AqlExpressionWithParameters
java.lang.Object
org.ehrbase.aql.compiler.AqlExpression
org.ehrbase.aql.compiler.AqlExpressionWithParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsubstitute(String query, Map<String, Object> parameterValues) Substitute parameters in aql expression A parameter symbol starts with a '$' and a combination of alphanumeric with '-' or '_' If the parameter value is a string or a UUID it is single quoted.Methods inherited from class org.ehrbase.aql.compiler.AqlExpression
dump, getParseTree, parse, parse
-
Constructor Details
-
AqlExpressionWithParameters
public AqlExpressionWithParameters()
-
-
Method Details
-
parse
-
substitute
Substitute parameters in aql expression A parameter symbol starts with a '$' and a combination of alphanumeric with '-' or '_' If the parameter value is a string or a UUID it is single quoted.- Parameters:
query-parameterValues-- Returns:
-