public class TemplateParameter<ExpressionType> extends LeafExpression<ExpressionType>
QueryExpression
that represents a parameter in an expression template. Querying the database with a
statement containing such an expression will result in an exception. It solely marks a point in an expression tree,
where the replacement of a template will be inserted.Constructor and Description |
---|
TemplateParameter(Class<ExpressionType> expressionTypeClass,
String parameterName) |
Modifier and Type | Method and Description |
---|---|
void |
accept(QueryExpressionVisitor visitor)
This method invokes the appropriate callback of the given
visitor and delegates
it to its children if present. |
String |
getParameterName() |
String |
toString() |
getExpressionType
public TemplateParameter(Class<ExpressionType> expressionTypeClass, String parameterName)
public void accept(QueryExpressionVisitor visitor)
QueryExpression
visitor
and delegates
it to its children if present.accept
in class QueryExpression<ExpressionType>
visitor
- the visitor visiting this expressionpublic String getParameterName()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.