public class ParameterReference<Type> extends LeafExpression<Type> implements QueryExpression<Type>
QueryExpression
that is a named parameter in a query. It does not hold the value, so using a reference
will only work if a ParameterDefinition
with the given name is used in the same query.Constructor and Description |
---|
ParameterReference(Class<Type> expressionTypeClass,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
asQueryLanguage(QueryTextGenerator queryTextGenerator,
StringBuilder builder) |
QueryExpression<Type> |
copy() |
String |
getParameterName() |
int |
queryStringSizeGuess(QueryTextGenerator queryTextGenerator) |
appendQueryParameters, getExpressionType, listDescendantsOfType, listParentsOfDescendantsOfType, precedence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendQueryParameters, getExpressionType, listDescendantsOfType, listParentsOfDescendantsOfType, precedence
public void asQueryLanguage(QueryTextGenerator queryTextGenerator, StringBuilder builder)
asQueryLanguage
in interface QueryExpression<Type>
public int queryStringSizeGuess(QueryTextGenerator queryTextGenerator)
queryStringSizeGuess
in interface QueryExpression<Type>
public QueryExpression<Type> copy()
copy
in interface QueryExpression<Type>
public String getParameterName()
Copyright © 2016 SAPERION AG. All rights reserved.