Interface StatementContext
-
@API(status=INTERNAL, since="2021.1.0") public interface StatementContextContext for while rendering a statement.- Since:
- 2021.1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetParameterName(Parameter<?> parameter)Gets or creates the name of a parameterbooleanisRenderConstantsAsParameters()Some parameters may be rendered as constants.
-
-
-
Method Detail
-
getParameterName
String getParameterName(Parameter<?> parameter)
Gets or creates the name of a parameter- Parameters:
parameter- The parameter who's name should be retrieved- Returns:
- The name of the parameter or a generated name
-
isRenderConstantsAsParameters
boolean isRenderConstantsAsParameters()
Some parameters may be rendered as constants.- Returns:
- true if objects passed via the QueryDSL context as parameters should be rendered as Cypher-String constants rather than actual Cypher parameters.
-
-