public interface ICVConnection extends Connection, ICValidator
Interface to merge the SNARL Connection API with the standard IC validator so validation can be performed against a connection.
Modifier and Type | Method and Description |
---|---|
IO |
addConstraints()
Return an
IO which can add a constraint ontology specified in RDF to the database. |
StardogExplainer |
explain(Constraint... theConstraints)
Returns an explainer that can be used to explain the violation for given constraints.
|
IO |
removeConstraints()
Return a
IO which can be used to remove constraints specified in RDF from the database. |
add, admin, as, ask, ask, begin, close, commit, currentStatus, export, generateModel, get, getOption, getSchema, graph, graph, graphAliases, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, selectPlan, selectPlan, size, transactions, update, update
addConstraint, clearConstraints, convertConstraint, convertConstraint, getConstraints, getValidationReport, getValidationReport, getValidationReport, getViolationBindings, getViolationBindings, isValid, isValid, removeConstraint, reporter
IO addConstraints() throws StardogException
IO
which can add a constraint ontology specified in RDF to the database.
Specifying the context in the IO object has no effect, you cannot put the integrity constraints into a specific named
graph in the database.StardogException
- a handle to IO could not be obtained to add constraintsIO removeConstraints() throws StardogException
IO
which can be used to remove constraints specified in RDF from the database. Specifying the context
in the IO object has no effect, you cannot remove the integrity constraints from a specific named graph in the database.StardogException
- a handle to the IO could not be obtained to remove constraintsStardogExplainer explain(Constraint... theConstraints) throws StardogException
current constraints
in the database are used.StardogException
Copyright © 2010-2016 Stardog Union. All Rights Reserved.