public class NodeShape extends Object implements PlanGenerator, RequiresEvalutation, QueryGenerator
Modifier and Type | Class and Description |
---|---|
static class |
NodeShape.Factory |
Constructor and Description |
---|
NodeShape(Resource id,
SailRepositoryConnection connection) |
Modifier and Type | Method and Description |
---|---|
List<PlanNode> |
generatePlans(ShaclSailConnection shaclSailConnection,
NodeShape nodeShape,
boolean printPlans) |
Resource |
getId() |
List<Path> |
getPaths() |
PlanNode |
getPlan(ShaclSailConnection shaclSailConnection,
NodeShape nodeShape,
boolean printPlans,
PlanNode overrideTargetNode) |
PlanNode |
getPlanAddedStatements(ShaclSailConnection shaclSailConnection,
NodeShape nodeShape) |
PlanNode |
getPlanRemovedStatements(ShaclSailConnection shaclSailConnection,
NodeShape nodeShape) |
String |
getQuery(String subjectVariable,
String objectVariable,
RdfsSubClassOfReasoner rdfsSubClassOfReasoner) |
PlanNode |
getTargetFilter(NotifyingSailConnection shaclSailConnection,
PlanNode parent) |
boolean |
requiresEvaluation(SailConnection addedStatements,
SailConnection removedStatements) |
String |
toString() |
public NodeShape(Resource id, SailRepositoryConnection connection)
public PlanNode getPlan(ShaclSailConnection shaclSailConnection, NodeShape nodeShape, boolean printPlans, PlanNode overrideTargetNode)
getPlan
in interface PlanGenerator
public PlanNode getPlanAddedStatements(ShaclSailConnection shaclSailConnection, NodeShape nodeShape)
getPlanAddedStatements
in interface PlanGenerator
public PlanNode getPlanRemovedStatements(ShaclSailConnection shaclSailConnection, NodeShape nodeShape)
getPlanRemovedStatements
in interface PlanGenerator
public List<Path> getPaths()
getPaths
in interface PlanGenerator
public List<PlanNode> generatePlans(ShaclSailConnection shaclSailConnection, NodeShape nodeShape, boolean printPlans)
public boolean requiresEvaluation(SailConnection addedStatements, SailConnection removedStatements)
requiresEvaluation
in interface RequiresEvalutation
public String getQuery(String subjectVariable, String objectVariable, RdfsSubClassOfReasoner rdfsSubClassOfReasoner)
getQuery
in interface QueryGenerator
public Resource getId()
public PlanNode getTargetFilter(NotifyingSailConnection shaclSailConnection, PlanNode parent)
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.