Class DruidJdbcPreparedStatement

java.lang.Object
org.apache.druid.sql.avatica.AbstractDruidJdbcStatement
org.apache.druid.sql.avatica.DruidJdbcPreparedStatement
All Implemented Interfaces:
Closeable, AutoCloseable

public class DruidJdbcPreparedStatement extends AbstractDruidJdbcStatement
The Druid implementation of the server-side representation of the JDBC PreparedStatement class. A prepared statement can be prepared once with a query, then executed any number of times, typically with parameter values. No parameters are provided during prepare, though we do learn the parameter definitions passed back to the client and used by Avatica for serialization. Each execution produces a DruidJdbcResultSet. Only one execution is active at a time.