Package nzilbb.labbcat.server.db
Class ParticipantAgqlToSql.Query
- java.lang.Object
-
- nzilbb.labbcat.server.db.ParticipantAgqlToSql.Query
-
- Enclosing class:
- ParticipantAgqlToSql
public static class ParticipantAgqlToSql.Query extends Object
Encapsulates the results ofParticipantAgqlToSql.sqlFor(String,String,String,boolean,String)
including the SQL. string and the parameters to set.
-
-
Field Summary
Fields Modifier and Type Field Description List<Object>
parameters
String
sql
-
Constructor Summary
Constructors Constructor Description Query()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreparedStatement
prepareStatement(Connection db)
Creates a prepared statement from the sql string and the parameters.
-
-
-
Method Detail
-
prepareStatement
public PreparedStatement prepareStatement(Connection db) throws SQLException
Creates a prepared statement from the sql string and the parameters.- Parameters:
db
- A connection to the database.- Returns:
- A prepared statement with parameters set.
- Throws:
SqlException
SQLException
-
-