Class FilterPlanNode
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.planNodes.FilterPlanNode
-
- All Implemented Interfaces:
MultiStreamPlanNode
,PlanNode
- Direct Known Subclasses:
DatatypeFilter
,ExternalFilterByQuery
,FilterTargetIsObject
,FilterTargetIsSubject
,LanguageInFilter
,LiteralComparatorFilter
,MaxLengthFilter
,MinLengthFilter
,NodeKindFilter
,PatternFilter
,ValueInFilter
public abstract class FilterPlanNode extends java.lang.Object implements MultiStreamPlanNode, PlanNode
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
closed
private PushablePlanNode
falseNode
private CloseableIteration<ValidationTuple,SailException>
iterator
private static org.slf4j.Logger
logger
(package private) PlanNode
parent
(package private) boolean
printed
private PushablePlanNode
trueNode
private ValidationExecutionLogger
validationExecutionLogger
-
Constructor Summary
Constructors Constructor Description FilterPlanNode(PlanNode parent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract boolean
checkTuple(ValidationTuple t)
void
close()
int
depth()
boolean
equals(java.lang.Object o)
PlanNode
getFalseNode(java.lang.Class<? extends PushablePlanNode> type)
java.lang.String
getId()
void
getPlanAsGraphvizDot(java.lang.StringBuilder stringBuilder)
PlanNode
getTrueNode(java.lang.Class<? extends PushablePlanNode> type)
int
hashCode()
boolean
incrementIterator()
void
init()
CloseableIteration<? extends ValidationTuple,SailException>
iterator()
private CloseableIteration<ValidationTuple,SailException>
iteratorInternal()
boolean
producesSorted()
void
receiveLogger(ValidationExecutionLogger validationExecutionLogger)
boolean
requiresSorted()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.sail.shacl.ast.planNodes.PlanNode
isGuaranteedEmpty
-
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
-
parent
PlanNode parent
-
trueNode
private PushablePlanNode trueNode
-
falseNode
private PushablePlanNode falseNode
-
iterator
private CloseableIteration<ValidationTuple,SailException> iterator
-
validationExecutionLogger
private ValidationExecutionLogger validationExecutionLogger
-
closed
private boolean closed
-
printed
boolean printed
-
-
Constructor Detail
-
FilterPlanNode
public FilterPlanNode(PlanNode parent)
-
-
Method Detail
-
checkTuple
abstract boolean checkTuple(ValidationTuple t)
-
getTrueNode
public PlanNode getTrueNode(java.lang.Class<? extends PushablePlanNode> type)
-
getFalseNode
public PlanNode getFalseNode(java.lang.Class<? extends PushablePlanNode> type)
-
iterator
public CloseableIteration<? extends ValidationTuple,SailException> iterator()
-
iteratorInternal
private CloseableIteration<ValidationTuple,SailException> iteratorInternal()
-
getPlanAsGraphvizDot
public void getPlanAsGraphvizDot(java.lang.StringBuilder stringBuilder)
- Specified by:
getPlanAsGraphvizDot
in interfacePlanNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
init
public void init()
- Specified by:
init
in interfaceMultiStreamPlanNode
-
close
public void close()
- Specified by:
close
in interfaceMultiStreamPlanNode
-
incrementIterator
public boolean incrementIterator()
- Specified by:
incrementIterator
in interfaceMultiStreamPlanNode
-
receiveLogger
public void receiveLogger(ValidationExecutionLogger validationExecutionLogger)
- Specified by:
receiveLogger
in interfacePlanNode
-
producesSorted
public boolean producesSorted()
- Specified by:
producesSorted
in interfacePlanNode
-
requiresSorted
public boolean requiresSorted()
- Specified by:
requiresSorted
in interfacePlanNode
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-