Class SqlSelectQuery
java.lang.Object
eu.europa.esig.dss.spi.client.jdbc.query.SqlQuery
eu.europa.esig.dss.spi.client.jdbc.query.SqlSelectQuery
A select query containing logic to extract records from a
ResultSet-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SqlRecordReturns response from the givenResultSetrow positiongetRecords(ResultSet rs) Extracts a collection ofSqlRecords fromResultSetMethods inherited from class eu.europa.esig.dss.spi.client.jdbc.query.SqlQuery
createQuery, getQueryString, toString
-
Constructor Details
-
SqlSelectQuery
Default constructor- Parameters:
queryString-String
-
-
Method Details
-
getRecord
Returns response from the givenResultSetrow position- Parameters:
rs-ResultSetto get records from the provided position- Returns:
SqlRecord- Throws:
SQLException- if an error during the SQL request occurs
-
getRecords
Extracts a collection ofSqlRecords fromResultSet- Parameters:
rs-ResultSetresult of the select query- Returns:
- collection of
SqlRecords - Throws:
SQLException- if an error during the SQL request occurs
-