public class QueryParameter<Type> extends Object implements QueryExpression<Type>
QueryExpression that is actually an expression in a condition. A reference to a parameter.
In a condition 'SYSROWID = :id' it would be the part ':id'| Modifier and Type | Field and Description |
|---|---|
protected Type |
parameterValue |
| Constructor and Description |
|---|
QueryParameter(Type parameterValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendQueryParameters(QueryTextGenerator queryTextGenerator,
Map<String,Object> parameterValues) |
void |
asQueryLanguage(QueryTextGenerator queryTextGenerator,
StringBuilder builder) |
String |
getParameterName() |
int |
precedence() |
int |
queryStringSizeGuess(QueryTextGenerator queryTextGenerator) |
protected final Type parameterValue
public QueryParameter(Type parameterValue)
public void asQueryLanguage(QueryTextGenerator queryTextGenerator, StringBuilder builder)
asQueryLanguage in interface QueryExpression<Type>public void appendQueryParameters(QueryTextGenerator queryTextGenerator, Map<String,Object> parameterValues)
appendQueryParameters in interface QueryExpression<Type>public int queryStringSizeGuess(QueryTextGenerator queryTextGenerator)
queryStringSizeGuess in interface QueryExpression<Type>public int precedence()
precedence in interface QueryExpression<Type>public String getParameterName()
Copyright © 2016 SAPERION AG. All rights reserved.