org.neo4j.index.impl.lucene
Class IdToEntityIterator<T extends org.neo4j.graphdb.PropertyContainer>
java.lang.Object
org.neo4j.helpers.collection.PrefetchingIterator<T>
org.neo4j.helpers.collection.CatchingIteratorWrapper<T,Long>
org.neo4j.index.impl.lucene.IdToEntityIterator<T>
- All Implemented Interfaces:
- Iterable<T>, Iterator<T>, org.neo4j.graphdb.index.IndexHits<T>
public abstract class IdToEntityIterator<T extends org.neo4j.graphdb.PropertyContainer>
- extends org.neo4j.helpers.collection.CatchingIteratorWrapper<T,Long>
- implements org.neo4j.graphdb.index.IndexHits<T>
| Methods inherited from class org.neo4j.helpers.collection.CatchingIteratorWrapper |
fetchNextOrNull, itemDodged, underlyingObjectToObject |
| Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator |
getPrefetchedNextOrNull, hasNext, next, remove, setPrefetchedNext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdToEntityIterator
public IdToEntityIterator(org.neo4j.graphdb.index.IndexHits<Long> ids)
exceptionOk
protected boolean exceptionOk(Throwable t)
- Overrides:
exceptionOk in class org.neo4j.helpers.collection.CatchingIteratorWrapper<T extends org.neo4j.graphdb.PropertyContainer,Long>
fetchNextOrNullFromSource
protected Long fetchNextOrNullFromSource(Iterator<Long> source)
- Overrides:
fetchNextOrNullFromSource in class org.neo4j.helpers.collection.CatchingIteratorWrapper<T extends org.neo4j.graphdb.PropertyContainer,Long>
currentScore
public float currentScore()
- Specified by:
currentScore in interface org.neo4j.graphdb.index.IndexHits<T extends org.neo4j.graphdb.PropertyContainer>
size
public int size()
- Specified by:
size in interface org.neo4j.graphdb.index.IndexHits<T extends org.neo4j.graphdb.PropertyContainer>
iterator
public Iterator<T> iterator()
- Specified by:
iterator in interface Iterable<T extends org.neo4j.graphdb.PropertyContainer>
close
public void close()
- Specified by:
close in interface org.neo4j.graphdb.index.IndexHits<T extends org.neo4j.graphdb.PropertyContainer>
getSingle
public T getSingle()
- Specified by:
getSingle in interface org.neo4j.graphdb.index.IndexHits<T extends org.neo4j.graphdb.PropertyContainer>
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.