Package org.apache.synapse.mediators.db
Class Statement
- java.lang.Object
-
- org.apache.synapse.mediators.db.Statement
-
public class Statement extends Object
Encapsulates an SQL statement, one or more parameters for it and optionally some information about results that one would like to read.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Statement.Parameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(String propertyName, SynapsePath path, String type)
void
addResult(String propertyName, String column)
List<Statement.Parameter>
getParameters()
String
getRawStatement()
Map<String,String>
getResultsMap()
-
-
-
Constructor Detail
-
Statement
public Statement(String rawStatement)
-
-
Method Detail
-
getRawStatement
public String getRawStatement()
-
addParameter
public void addParameter(String propertyName, SynapsePath path, String type)
-
getParameters
public List<Statement.Parameter> getParameters()
-
-