Class DatasetStatement

java.lang.Object
org.apache.jena.jdbc.statements.JenaStatement
org.apache.jena.jdbc.statements.DatasetStatement
All Implemented Interfaces:
AutoCloseable, Statement, Wrapper

public class DatasetStatement extends JenaStatement
A Jena JDBC statement over a Dataset
  • Constructor Details

    • DatasetStatement

      public DatasetStatement(DatasetConnection connection) throws SQLException
      Creates a new statement
      Parameters:
      connection - Connection
      Throws:
      SQLException - Thrown if there is an error with the statement parameters
    • DatasetStatement

      public DatasetStatement(DatasetConnection connection, int type, int fetchDir, int fetchSize, int holdability, boolean autoCommit, int transactionLevel) throws SQLException
      Creates a new statement
      Parameters:
      connection - Connection
      type - Result Set type for result sets produced by this statement
      fetchDir - Fetch Direction
      fetchSize - Fetch Size
      holdability - Result Set holdability
      autoCommit - Auto commit behavior
      transactionLevel - Transaction level
      Throws:
      SQLException - Thrown if there is an error with the statement parameters