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 TypeMethodDescriptionvoidClears the currently set parameters.Executes query represented by this statement.voidExecutes an update represented by this statement.voidSets 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, useOntologyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:PreparedStatementSets value of binding with the specified name.- Specified by:
setObjectin interfacePreparedStatement- Parameters:
binding- Binding namevalue- The value of the parameter
-
executeQuery
Description copied from interface:PreparedStatementExecutes query represented by this statement.- Specified by:
executeQueryin interfacePreparedStatement- Returns:
- ResultSet of the query
- Throws:
OntoDriverException- If an ontology access error occurs
-
executeUpdate
Description copied from interface:PreparedStatementExecutes an update represented by this statement.- Specified by:
executeUpdatein interfacePreparedStatement- Throws:
OntoDriverException- If an ontology access error occurs
-
clearParameters
public void clearParameters()Description copied from interface:PreparedStatementClears the currently set parameters.- Specified by:
clearParametersin interfacePreparedStatement
-