Class JenaPreparedStatement
java.lang.Object
cz.cvut.kbss.ontodriver.jena.query.JenaStatement
cz.cvut.kbss.ontodriver.jena.query.JenaPreparedStatement
- All Implemented Interfaces:
PreparedStatement
,Statement
,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface cz.cvut.kbss.ontodriver.Statement
Statement.StatementOntology
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the currently set parameters.Executes query represented by this statement.void
Executes an update represented by this statement.void
Sets value of binding with the specified name.Methods inherited from class cz.cvut.kbss.ontodriver.jena.query.JenaStatement
close, disableInference, executeQuery, executeUpdate, getStatementOntology, isInferenceDisabled, isOpen, useOntology
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.cvut.kbss.ontodriver.Statement
close, disableInference, executeQuery, executeUpdate, getStatementOntology, isInferenceDisabled, isOpen, useOntology
-
Constructor Details
-
JenaPreparedStatement
-
-
Method Details
-
executeQuery
Description copied from interface:PreparedStatement
Executes query represented by this statement.- Specified by:
executeQuery
in interfacePreparedStatement
- Returns:
- ResultSet of the query
- Throws:
JenaDriverException
-
executeUpdate
Description copied from interface:PreparedStatement
Executes an update represented by this statement.- Specified by:
executeUpdate
in interfacePreparedStatement
- Throws:
JenaDriverException
-
setObject
Description copied from interface:PreparedStatement
Sets value of binding with the specified name.- Specified by:
setObject
in interfacePreparedStatement
- Parameters:
binding
- Binding namevalue
- The value of the parameter
-
clearParameters
public void clearParameters()Description copied from interface:PreparedStatement
Clears the currently set parameters.- Specified by:
clearParameters
in interfacePreparedStatement
-