Class Rdf4jPreparedStatement
java.lang.Object
cz.cvut.kbss.ontodriver.rdf4j.query.Rdf4jStatement
cz.cvut.kbss.ontodriver.rdf4j.query.Rdf4jPreparedStatement
- 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.rdf4j.query.Rdf4jStatement
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
-
Rdf4jPreparedStatement
-
-
Method Details
-
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
-
executeQuery
Description copied from interface:PreparedStatement
Executes query represented by this statement.- Specified by:
executeQuery
in interfacePreparedStatement
- Returns:
- ResultSet of the query
- Throws:
OntoDriverException
- If an ontology access error occurs
-
executeUpdate
Description copied from interface:PreparedStatement
Executes an update represented by this statement.- Specified by:
executeUpdate
in interfacePreparedStatement
- Throws:
OntoDriverException
- If an ontology access error occurs
-
clearParameters
public void clearParameters()Description copied from interface:PreparedStatement
Clears the currently set parameters.- Specified by:
clearParameters
in interfacePreparedStatement
-