Class NonUniqueTargetLang
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.planNodes.NonUniqueTargetLang
- All Implemented Interfaces:
PlanNode
This PlanNode takes a stream of Tuples like: (ex:companyA, "Company A"@en). It assumes that the stream is sorted on
index 0 (eg. ex:CompanyA). It will cache all non-empty languages from index 1 (eg. "en") and outputs any tuples where
the language has already been seen.
If a Value on index 1 has no language because it is a literal without a language or because it is an IRI or BNode, then its language is considered empty and not cached.
- Author:
- HÃ¥vard Ottestad
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
depth()
boolean
getId()
void
getPlanAsGraphvizDot
(StringBuilder stringBuilder) int
hashCode()
CloseableIteration<? extends ValidationTuple,
SailException> iterator()
boolean
void
receiveLogger
(ValidationExecutionLogger validationExecutionLogger) boolean
toString()
-
Constructor Details
-
NonUniqueTargetLang
-
-
Method Details
-
iterator
-
depth
public int depth() -
getPlanAsGraphvizDot
- Specified by:
getPlanAsGraphvizDot
in interfacePlanNode
-
toString
-
getId
-
receiveLogger
- Specified by:
receiveLogger
in interfacePlanNode
-
producesSorted
public boolean producesSorted()- Specified by:
producesSorted
in interfacePlanNode
-
requiresSorted
public boolean requiresSorted()- Specified by:
requiresSorted
in interfacePlanNode
-
equals
-
hashCode
public int hashCode()
-