public interface JRQueryClauseContext
clause function
.Modifier and Type | Method and Description |
---|---|
void |
addQueryMultiParameters(String parameterName,
int count)
Records a multi-valued query parameter.
|
void |
addQueryMultiParameters(String parameterName,
int count,
boolean ignoreNulls)
Records a multi-valued query parameter with null values to be ignored.
|
void |
addQueryParameter(Class<?> type,
Object value)
Records a query parameter based on a provided value.
|
void |
addQueryParameter(String parameterName)
Records a query parameter.
|
String |
getCanonicalQueryLanguage()
Returns a canonical query language for this query execution.
|
JasperReportsContext |
getJasperReportsContext()
Returns the JasperReportsContext associated with the current query execution.
|
JRValueParameter |
getValueParameter(String parameterName)
Return a value parameter from the report parameters map.
|
StringBuffer |
queryBuffer()
Returns the query text buffer.
|
StringBuffer queryBuffer()
JRValueParameter getValueParameter(String parameterName)
parameterName
- the parameter namevoid addQueryParameter(String parameterName)
parameterName
- the parameter namevoid addQueryMultiParameters(String parameterName, int count)
parameterName
- the parameter namecount
- the value countvoid addQueryMultiParameters(String parameterName, int count, boolean ignoreNulls)
parameterName
- the parameter namecount
- the value countignoreNulls
- flag that indicates whether the null values should be ignoredvoid addQueryParameter(Class<?> type, Object value)
type
- the parameter type if specifiedvalue
- the parameter valueJasperReportsContext getJasperReportsContext()
String getCanonicalQueryLanguage()
The canonical language is used to retrieve extensions for the query executer.
Copyright © 2017. All rights reserved.