Interface ShapeSource
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BackwardChainingShapeSource,CombinedShapeSource,Rdf4jShaclShapeGraphShapeSource,RepositoryConnectionShapeSource,SailConnectionShapeSource
public interface ShapeSource extends AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classShapeSource.Predicatesstatic classShapeSource.ShapesGraph
-
Field Summary
Fields Modifier and Type Field Description static org.eclipse.rdf4j.model.ModelDASH_CONSTANTS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()org.eclipse.rdf4j.model.Resource[]getActiveContexts()Stream<ShapeSource.ShapesGraph>getAllShapeContexts()Stream<org.eclipse.rdf4j.model.Statement>getAllStatements(org.eclipse.rdf4j.model.Resource id)Stream<org.eclipse.rdf4j.model.Value>getObjects(org.eclipse.rdf4j.model.Resource subject, ShapeSource.Predicates predicate)org.eclipse.rdf4j.model.ValuegetRdfFirst(org.eclipse.rdf4j.model.Resource subject)org.eclipse.rdf4j.model.ResourcegetRdfRest(org.eclipse.rdf4j.model.Resource subject)static Stream<ShapeSource.ShapesGraph>getRsxDataAndShapesGraphLink(org.eclipse.rdf4j.repository.RepositoryConnection connection, org.eclipse.rdf4j.model.Resource[] context)static Stream<ShapeSource.ShapesGraph>getRsxDataAndShapesGraphLink(SailConnection connection, org.eclipse.rdf4j.model.Resource[] context)Stream<org.eclipse.rdf4j.model.Resource>getSubjects(ShapeSource.Predicates predicate)Stream<org.eclipse.rdf4j.model.Resource>getTargetableShape()booleanisType(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI type)ShapeSourcewithContext(org.eclipse.rdf4j.model.Resource[] context)
-
-
-
Method Detail
-
getRsxDataAndShapesGraphLink
static Stream<ShapeSource.ShapesGraph> getRsxDataAndShapesGraphLink(SailConnection connection, org.eclipse.rdf4j.model.Resource[] context)
-
getRsxDataAndShapesGraphLink
static Stream<ShapeSource.ShapesGraph> getRsxDataAndShapesGraphLink(org.eclipse.rdf4j.repository.RepositoryConnection connection, org.eclipse.rdf4j.model.Resource[] context)
-
withContext
ShapeSource withContext(org.eclipse.rdf4j.model.Resource[] context)
-
getActiveContexts
org.eclipse.rdf4j.model.Resource[] getActiveContexts()
-
getAllShapeContexts
Stream<ShapeSource.ShapesGraph> getAllShapeContexts()
-
getTargetableShape
Stream<org.eclipse.rdf4j.model.Resource> getTargetableShape()
-
isType
boolean isType(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI type)
-
getSubjects
Stream<org.eclipse.rdf4j.model.Resource> getSubjects(ShapeSource.Predicates predicate)
-
getObjects
Stream<org.eclipse.rdf4j.model.Value> getObjects(org.eclipse.rdf4j.model.Resource subject, ShapeSource.Predicates predicate)
-
getAllStatements
Stream<org.eclipse.rdf4j.model.Statement> getAllStatements(org.eclipse.rdf4j.model.Resource id)
-
getRdfFirst
org.eclipse.rdf4j.model.Value getRdfFirst(org.eclipse.rdf4j.model.Resource subject)
-
getRdfRest
org.eclipse.rdf4j.model.Resource getRdfRest(org.eclipse.rdf4j.model.Resource subject)
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-