Package org.apache.jena.jdbc.statements
Class DatasetStatement
java.lang.Object
org.apache.jena.jdbc.statements.JenaStatement
org.apache.jena.jdbc.statements.DatasetStatement
- All Implemented Interfaces:
AutoCloseable
,Statement
,Wrapper
A Jena JDBC statement over a
Dataset
-
Field Summary
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
Constructor Summary
ConstructorsConstructorDescriptionDatasetStatement
(DatasetConnection connection) Creates a new statementDatasetStatement
(DatasetConnection connection, int type, int fetchDir, int fetchSize, int holdability, boolean autoCommit, int transactionLevel) Creates a new statement -
Method Summary
Methods inherited from class org.apache.jena.jdbc.statements.JenaStatement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getJdbcCompatibilityLevel, getJenaConnection, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setJdbcCompatibilityLevel, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows
-
Constructor Details
-
DatasetStatement
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
- Connectiontype
- Result Set type for result sets produced by this statementfetchDir
- Fetch DirectionfetchSize
- Fetch Sizeholdability
- Result Set holdabilityautoCommit
- Auto commit behaviortransactionLevel
- Transaction level- Throws:
SQLException
- Thrown if there is an error with the statement parameters
-