nxt.db

## Interface FilteredFactory

-     public interface FilteredFactory

  Create Statement and PrepareStatement for use with FilteredConnection

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.sql.PreparedStatement` | `createPreparedStatement(FilteredConnection con, java.sql.PreparedStatement stmt, java.lang.String sql)` Create a FilteredPreparedStatement for the supplied PreparedStatement
    `java.sql.Statement` | `createStatement(FilteredConnection con, java.sql.Statement stmt)` Create a FilteredStatement for the supplied Statement

- - ### Method Detail

    - #### createStatement

          java.sql.Statement createStatement(FilteredConnection con,
                                             java.sql.Statement stmt)
                                      throws java.sql.SQLException

      Create a FilteredStatement for the supplied Statement
      Parameters:
        `stmt` - Statement
        `con` - Connection
      Returns:
        Wrapped statement
      Throws:
        `java.sql.SQLException` - SQLException

    - #### createPreparedStatement

          java.sql.PreparedStatement createPreparedStatement(FilteredConnection con,
                                                             java.sql.PreparedStatement stmt,
                                                             java.lang.String sql)
                                                      throws java.sql.SQLException

      Create a FilteredPreparedStatement for the supplied PreparedStatement
      Parameters:
        `stmt` - Prepared statement
        `sql` - SQL statement
        `con` - Connection
      Returns:
        Wrapped prepared statement
      Throws:
        `java.sql.SQLException` - SQLException