Class RemoteEndpointPreparedStatement
java.lang.Object
org.apache.jena.jdbc.statements.JenaStatement
org.apache.jena.jdbc.statements.JenaPreparedStatement
org.apache.jena.jdbc.remote.statements.RemoteEndpointPreparedStatement
- All Implemented Interfaces:
AutoCloseable
,PreparedStatement
,Statement
,Wrapper
A Jena JDBC statement against a remote endpoint
-
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
ConstructorsConstructorDescriptionRemoteEndpointPreparedStatement
(String sparql, RemoteEndpointConnection connection) Creates a new statementRemoteEndpointPreparedStatement
(String sparql, RemoteEndpointConnection connection, java.net.http.HttpClient client, int type, int fetchDir, int fetchSize, int holdability) Creates a new statement -
Method Summary
Methods inherited from class org.apache.jena.jdbc.statements.JenaPreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterizedString, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
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.PreparedStatement
executeLargeUpdate, setObject, setObject
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
RemoteEndpointPreparedStatement
public RemoteEndpointPreparedStatement(String sparql, RemoteEndpointConnection connection) throws SQLException Creates a new statement- Parameters:
sparql
- SPARQL commandconnection
- Connection- Throws:
SQLException
- Thrown if there is an error with the statement parameters
-
RemoteEndpointPreparedStatement
public RemoteEndpointPreparedStatement(String sparql, RemoteEndpointConnection connection, java.net.http.HttpClient client, int type, int fetchDir, int fetchSize, int holdability) throws SQLException Creates a new statement- Parameters:
sparql
- SPARQL commandconnection
- Connectionclient
- HTTP clienttype
- Result Set type for result sets produced by this statementfetchDir
- Fetch DirectionfetchSize
- Fetch Sizeholdability
- Result Set holdability- Throws:
SQLException
- Thrown if there is an error with the statement parameters
-