public class FilteredRelationshipIterator extends org.neo4j.helpers.collection.PrefetchingIterator<org.neo4j.graphdb.Relationship> implements Iterator<org.neo4j.graphdb.Relationship>, Iterable<org.neo4j.graphdb.Relationship>
Relationship Iterator decorator that filters out Relationships not needed by the
RelationshipInclusionPolicy contained in the provided
InclusionPolicies.| Constructor and Description |
|---|
FilteredRelationshipIterator(Iterable<org.neo4j.graphdb.Relationship> wrappedIterable,
InclusionPolicies policies)
Construct the iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.neo4j.graphdb.Relationship |
fetchNextOrNull() |
Iterator<org.neo4j.graphdb.Relationship> |
iterator() |
hasNext, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, hasNext, next, removeforEach, spliteratorpublic FilteredRelationshipIterator(Iterable<org.neo4j.graphdb.Relationship> wrappedIterable, InclusionPolicies policies)
wrappedIterable - this decorates.policies - for filtering.public Iterator<org.neo4j.graphdb.Relationship> iterator()
protected org.neo4j.graphdb.Relationship fetchNextOrNull()
fetchNextOrNull in class org.neo4j.helpers.collection.PrefetchingIterator<org.neo4j.graphdb.Relationship>Copyright © 2013-2016–2020 Graph Aware Limited. All rights reserved.