Package org.hotrod.dynamicsql
Class PreparedSelectQuery<R>
- java.lang.Object
-
- org.hotrod.dynamicsql.PreparedQuery
-
- org.hotrod.dynamicsql.PreparedSelectQuery<R>
-
public class PreparedSelectQuery<R> extends PreparedQuery
-
-
Field Summary
-
Fields inherited from class org.hotrod.dynamicsql.PreparedQuery
formattedSQL, MAX_DISPLAY_VALUE, parameters, sql
-
-
Constructor Summary
Constructors Constructor Description PreparedSelectQuery(SimpleStaticSegmentConsumer sc, RowReader<R> rr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<R>execute(Connection conn)Cursor<R>executeCursor(Connection conn)Cursor<R>executeCursor(Connection conn, Integer fetchSize)RexecuteOne(Connection conn)-
Methods inherited from class org.hotrod.dynamicsql.PreparedQuery
getPreview, getPreview
-
-
-
-
Constructor Detail
-
PreparedSelectQuery
public PreparedSelectQuery(SimpleStaticSegmentConsumer sc, RowReader<R> rr)
-
-
Method Detail
-
execute
public List<R> execute(Connection conn) throws SQLException, DynamicExpressionException
-
executeOne
public R executeOne(Connection conn) throws SQLException, DynamicExpressionException
-
executeCursor
public Cursor<R> executeCursor(Connection conn) throws SQLException
- Throws:
SQLException
-
executeCursor
public Cursor<R> executeCursor(Connection conn, Integer fetchSize) throws SQLException
- Throws:
SQLException
-
-