Package org.ametys.odf.ose.db
Class ParameterizableQuery
java.lang.Object
org.ametys.odf.ose.db.ParameterizableQuery
Object representing a query and its parameters.
- 
Constructor Summary
ConstructorsConstructorDescriptionParameterizableQuery(String query) Constructor.ParameterizableQuery(String query, List<ValuedQueryParameter> parameters) Constructor. - 
Method Summary
Modifier and TypeMethodDescriptionGet the query parametersgetQuery()Get the queryGets the representation of this parameterizable query as a readable string for logging purposes. 
- 
Constructor Details
- 
ParameterizableQuery
Constructor.- Parameters:
 query- The queryparameters- The query parameters
 - 
ParameterizableQuery
Constructor.- Parameters:
 query- The query
 
 - 
 - 
Method Details
- 
getQuery
Get the query- Returns:
 - the query
 
 - 
getParameters
Get the query parameters- Returns:
 - the parameters
 
 - 
toReadableString
Gets the representation of this parameterizable query as a readable string for logging purposes.- Returns:
 - the representation of this parameterizable query as a readable string for logging purposes.
 
 
 -