public class FilteredPropertyKeyIterator<T extends org.neo4j.graphdb.Entity> extends org.neo4j.helpers.collection.PrefetchingIterator<String> implements Iterable<String>
Iterator decorator that filters out keys not needed by the contained PropertyInclusionPolicy.| Constructor and Description |
|---|
FilteredPropertyKeyIterator(Iterable<String> wrappedIterator,
T wrappedEntity,
PropertyInclusionPolicy<T> propertyInclusionPolicy)
Construct the iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
fetchNextOrNull() |
Iterator<String> |
iterator() |
hasNext, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorforEachRemainingpublic FilteredPropertyKeyIterator(Iterable<String> wrappedIterator, T wrappedEntity, PropertyInclusionPolicy<T> propertyInclusionPolicy)
wrappedIterator - wrapped iterator that this decorates (and filters).wrappedEntity - entity that the iterator belongs to.propertyInclusionPolicy - policy used for filtering.Copyright © 2013-2016–2020 Graph Aware Limited. All rights reserved.