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()
Deprecated.
Add your SHACL constraints to the database using {
Connection.add() } |
StardogExplainer |
explain(Constraint... theConstraints)
Deprecated.
Use SHACL validation report for constraint violation explanations
|
IO |
removeConstraints()
Deprecated.
Remove your SHACL constraints from the database using {
Connection.remove() } |
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, close, convertConstraint, convertConstraint, getConstraints, getValidationReport, getValidationReport, getValidationReport, getViolationBindings, getViolationBindings, isValid, isValid, removeConstraint, reporter
IO addConstraints() throws StardogException
Connection.add()
}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
Connection.remove()
}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.