Package com.complexible.stardog.icv
Class ICV
java.lang.Object
com.complexible.stardog.icv.ICV
Set of utility functions for dealing with Stardog ICV support.
- Since:
- 0.7
- Version:
- 6.0
- Author:
- Michael Grove
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<Constraint> constraintsFromGraph(Iterable<Statement> theGraph) static StatementSourceconstraintsToSource(Iterable<Constraint> theConstraints) static StatementSourceconstraintsToSource(Iterable<Constraint> theConstraints, Resource theContext) static Collection<Statement> toStatements(Constraint theConstraint) Convert the Stardog IC into a collection of statements
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
PERMISSION_ICV
- See Also:
-
-
Method Details
-
toStatements
Convert the Stardog IC into a collection of statements- Parameters:
theConstraint- the constraint- Returns:
- the constraint represented as a collection of statements
-
constraintsFromGraph
public static Set<Constraint> constraintsFromGraph(Iterable<Statement> theGraph) throws StardogException - Throws:
StardogException
-
constraintsToSource
-
constraintsToSource
public static StatementSource constraintsToSource(Iterable<Constraint> theConstraints, Resource theContext)
-