Class TDBConnection
java.lang.Object
org.apache.jena.jdbc.connections.JenaConnection
org.apache.jena.jdbc.connections.DatasetConnection
org.apache.jena.jdbc.tdb.connections.TDBConnection
- All Implemented Interfaces:
AutoCloseable
,Connection
,Wrapper
Represents a dataset connection backed by a TDB dataset
-
Field Summary
Fields inherited from class org.apache.jena.jdbc.connections.JenaConnection
DEFAULT_AUTO_COMMIT, DEFAULT_HOLDABILITY, DEFAULT_ISOLATION_LEVEL
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
-
Constructor Summary
ConstructorsConstructorDescriptionTDBConnection
(Dataset ds, int holdability, boolean autoCommit, int compatibilityLevel) Creates a new connection -
Method Summary
Methods inherited from class org.apache.jena.jdbc.connections.DatasetConnection
begin, getJenaDataset, isClosed, isReadOnly, isValid, setReadOnly
Methods inherited from class org.apache.jena.jdbc.connections.JenaConnection
abort, addPostProcessor, addPreProcessor, applyPostProcessors, applyPostProcessors, applyPostProcessors, applyPostProcessors, applyPostProcessors, applyPostProcessors, applyPreProcessors, applyPreProcessors, applyPreProcessors, clearPostProcessors, clearPreProcessors, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getJdbcCompatibilityLevel, getNetworkTimeout, getPostProcessors, getPreProcessors, getSchema, getTransactionIsolation, getTypeMap, getWarnings, insertPostProcessor, insertPreProcessor, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, removePostProcessor, removePostProcessor, removePreProcessor, removePreProcessor, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setJdbcCompatibilityLevel, setNetworkTimeout, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, unwrap
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
Constructor Details
-
TDBConnection
public TDBConnection(Dataset ds, int holdability, boolean autoCommit, int compatibilityLevel) throws SQLException Creates a new connection- Parameters:
ds
- Datasetholdability
- Result Set holdabilityautoCommit
- Auto-commit modecompatibilityLevel
- JDBC compatibility level, seeJdbcCompatibility
- Throws:
SQLException
-
-
Method Details
-
getMetaData
- Specified by:
getMetaData
in interfaceConnection
- Specified by:
getMetaData
in classJenaConnection
-