Class Statement
- java.lang.Object
-
- org.apache.synapse.message.store.impl.jdbc.util.Statement
-
public abstract class Statement extends Object
Statement class for raw SQL statement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddParameter(Object o)List<Object>getParameters()abstract List<Map>getResult(ResultSet resultSet)Provides the de-serialized outcome of the query.StringgetStatement()
-
-
-
Constructor Detail
-
Statement
public Statement(String rawStatement)
-
-
Method Detail
-
getResult
public abstract List<Map> getResult(ResultSet resultSet) throws SQLException
Provides the de-serialized outcome of the query.- Parameters:
resultSet- the result-set obtained from the DB.- Returns:
- the result which contain each row and the corresponding column.
- Throws:
SQLException
-
getStatement
public String getStatement()
-
addParameter
public void addParameter(Object o)
-
-