Package nzilbb.labbcat.server.db
Class AnnotationAgqlToSql.Query
- java.lang.Object
-
- nzilbb.labbcat.server.db.AnnotationAgqlToSql.Query
-
- Enclosing class:
- AnnotationAgqlToSql
public static class AnnotationAgqlToSql.Query extends Object
Encapsulates the results ofAnnotationAgqlToSql.sqlFor(String,String,String,String)including the SQL. string and the parameters to set.
-
-
Field Summary
Fields Modifier and Type Field Description List<Object>parametersnzilbb.ag.LayerprimaryLayerStringsql
-
Constructor Summary
Constructors Constructor Description Query()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreparedStatementprepareStatement(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:
SqlExceptionSQLException
-
-