public class JasperStyleParameterParser
extends JRAbstractQueryExecuter
Constructor and Description |
---|
JasperStyleParameterParser(java.sql.Connection connection,
JRDataset dataset,
java.util.Map parameters,
ParameterSet parameterSet) |
JasperStyleParameterParser(java.sql.Connection connection,
JRDataset dataset,
java.util.Map parameters,
ParameterSet parameterSet,
boolean ignoreParameters) |
JasperStyleParameterParser(java.sql.Connection connection,
java.lang.String query,
java.util.Map<java.lang.String,ParameterValue> parameters,
ParameterSet parameterSet) |
JasperStyleParameterParser(java.lang.String query,
java.util.Map<java.lang.String,ParameterValue> parameters,
ParameterSet parameterSet) |
JasperStyleParameterParser(java.lang.String query,
java.util.Map<java.lang.String,ParameterValue> parameters,
ParameterSet parameterSet,
boolean ignoreParameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelQuery() |
void |
close() |
JRDataSource |
createDatasource() |
java.lang.String |
createQueryAsString() |
static JRValueParameter |
createValueParameter(java.lang.String name,
java.lang.Object value,
java.lang.Class<?> type) |
java.util.List<java.lang.String> |
getCollectedParameterNames() |
java.util.List |
getCollectedParameters() |
java.lang.Object |
getParameterValue(java.lang.String parameterName) |
java.lang.String |
getQueryString() |
java.sql.PreparedStatement |
getStatement() |
public JasperStyleParameterParser(java.sql.Connection connection, JRDataset dataset, java.util.Map parameters, ParameterSet parameterSet)
public JasperStyleParameterParser(java.sql.Connection connection, JRDataset dataset, java.util.Map parameters, ParameterSet parameterSet, boolean ignoreParameters)
public JasperStyleParameterParser(java.sql.Connection connection, java.lang.String query, java.util.Map<java.lang.String,ParameterValue> parameters, ParameterSet parameterSet)
public JasperStyleParameterParser(java.lang.String query, java.util.Map<java.lang.String,ParameterValue> parameters, ParameterSet parameterSet)
public JasperStyleParameterParser(java.lang.String query, java.util.Map<java.lang.String,ParameterValue> parameters, ParameterSet parameterSet, boolean ignoreParameters)
public JRDataSource createDatasource() throws JRException
JRException
public java.sql.PreparedStatement getStatement() throws JRException
JRException
public java.lang.String createQueryAsString() throws JRException
JRException
public void close()
public boolean cancelQuery() throws JRException
JRException
public static JRValueParameter createValueParameter(java.lang.String name, java.lang.Object value, java.lang.Class<?> type)
public java.lang.Object getParameterValue(java.lang.String parameterName)
public java.util.List getCollectedParameters()
public java.util.List<java.lang.String> getCollectedParameterNames()
public java.lang.String getQueryString()