public final class ICV extends Object
Set of utility functions for dealing with Stardog ICV support.
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOGGER |
static String |
PERMISSION_ICV |
Modifier and Type | Method and Description |
---|---|
static Set<Constraint> |
constraintsFromGraph(Iterable<Statement> theGraph) |
static StatementSource |
constraintsToSource(Iterable<Constraint> theConstraints) |
static StatementSource |
constraintsToSource(Iterable<Constraint> theConstraints,
Resource theContext) |
static Collection<Statement> |
toStatements(Constraint theConstraint)
Convert the Stardog IC into a collection of statements
|
protected static final org.slf4j.Logger LOGGER
public static final String PERMISSION_ICV
public static Collection<Statement> toStatements(Constraint theConstraint)
theConstraint
- the constraintpublic static Set<Constraint> constraintsFromGraph(Iterable<Statement> theGraph) throws StardogException
StardogException
public static StatementSource constraintsToSource(Iterable<Constraint> theConstraints)
public static StatementSource constraintsToSource(Iterable<Constraint> theConstraints, Resource theContext)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.