- All Known Implementing Classes:
EnhNodeFinder.ByPredicate,EnhNodeFinder.ByType,EnhNodeFinder.ByTypes
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A class-helper to perform the preliminary resource search in a model.
Subsequently, the search result Stream will be filtered by the
EnhNodeFilter instance.
Used as a component in default factory and CompositeEnhNodeFactoryImpl implementations-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnhNodeFinderstatic final EnhNodeFinderstatic final EnhNodeFinderstatic final EnhNodeFinderstatic final EnhNodeFinderstatic final EnhNodeFinder -
Method Summary
Modifier and TypeMethodDescriptiondefault Stream<org.apache.jena.graph.Node>find(org.apache.jena.enhanced.EnhGraph eg) Lists the nodes from the specified model by the encapsulated criterion.org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Node>iterator(org.apache.jena.enhanced.EnhGraph eg) Returns an iterator over the nodes in the given model, which satisfy some criterion, specific to thisEnhNodeFinder.default EnhNodeFinderrestrict(EnhNodeFilter filter)
-
Field Details
-
ANY_SUBJECT
-
ANY_BLANK_SUBJECT
-
ANY_SUBJECT_AND_OBJECT
-
ANYTHING
-
NOTHING
-
ANY_TYPED
-
-
Method Details
-
iterator
org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Node> iterator(org.apache.jena.enhanced.EnhGraph eg) Returns an iterator over the nodes in the given model, which satisfy some criterion, specific to thisEnhNodeFinder. It is expected that the result does not contain duplicates.- Parameters:
eg-EnhGraph, model- Returns:
ExtendedIteratorofNodes
-
find
Lists the nodes from the specified model by the encapsulated criterion.- Parameters:
eg-EnhGraph, model- Returns:
StreamofNodes
-
restrict
-