Package com.complexible.stardog.icv
Class ICV
- java.lang.Object
-
- com.complexible.stardog.icv.ICV
-
public final class ICV extends java.lang.ObjectSet of utility functions for dealing with Stardog ICV support.
- Since:
- 0.7
- Version:
- 6.0
- Author:
- Michael Grove
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOGGERstatic java.lang.StringPERMISSION_ICV
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<Constraint>constraintsFromGraph(java.lang.Iterable<Statement> theGraph)static StatementSourceconstraintsToSource(java.lang.Iterable<Constraint> theConstraints)static StatementSourceconstraintsToSource(java.lang.Iterable<Constraint> theConstraints, Resource theContext)static java.util.Collection<Statement>toStatements(Constraint theConstraint)Convert the Stardog IC into a collection of statements
-
-
-
Field Detail
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
PERMISSION_ICV
public static final java.lang.String PERMISSION_ICV
- See Also:
- Constant Field Values
-
-
Method Detail
-
toStatements
public static java.util.Collection<Statement> toStatements(Constraint theConstraint)
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 java.util.Set<Constraint> constraintsFromGraph(java.lang.Iterable<Statement> theGraph) throws StardogException
- Throws:
StardogException
-
constraintsToSource
public static StatementSource constraintsToSource(java.lang.Iterable<Constraint> theConstraints)
-
constraintsToSource
public static StatementSource constraintsToSource(java.lang.Iterable<Constraint> theConstraints, Resource theContext)
-
-