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 PlanGeneratorpublic PlanNode getPlanAddedStatements(ShaclSailConnection shaclSailConnection, NodeShape nodeShape)
getPlanAddedStatements in interface PlanGeneratorpublic PlanNode getPlanRemovedStatements(ShaclSailConnection shaclSailConnection, NodeShape nodeShape)
getPlanRemovedStatements in interface PlanGeneratorpublic List<Path> getPaths()
getPaths in interface PlanGeneratorpublic List<PlanNode> generatePlans(ShaclSailConnection shaclSailConnection, NodeShape nodeShape, boolean printPlans)
public boolean requiresEvaluation(SailConnection addedStatements, SailConnection removedStatements)
requiresEvaluation in interface RequiresEvalutationpublic String getQuery(String subjectVariable, String objectVariable, RdfsSubClassOfReasoner rdfsSubClassOfReasoner)
getQuery in interface QueryGeneratorpublic Resource getId()
public PlanNode getTargetFilter(NotifyingSailConnection shaclSailConnection, PlanNode parent)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.