- 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 class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnhNodeFinder
static final EnhNodeFinder
static final EnhNodeFinder
static final EnhNodeFinder
static final EnhNodeFinder
static 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 EnhNodeFinder
restrict
(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:
ExtendedIterator
ofNode
s
-
find
Lists the nodes from the specified model by the encapsulated criterion.- Parameters:
eg
-EnhGraph
, model- Returns:
Stream
ofNode
s
-
restrict
-