org.neo4j.index.impl.lucene
Class IdToEntityIterator<T extends 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>, IndexHits<T>
public abstract class IdToEntityIterator<T extends PropertyContainer>
- extends CatchingIteratorWrapper<T,Long>
- implements IndexHits<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdToEntityIterator
public IdToEntityIterator(IndexHits<Long> ids)
exceptionOk
protected boolean exceptionOk(Throwable t)
- Overrides:
exceptionOk
in class CatchingIteratorWrapper<T extends PropertyContainer,Long>
fetchNextOrNullFromSource
protected Long fetchNextOrNullFromSource(Iterator<Long> source)
- Overrides:
fetchNextOrNullFromSource
in class CatchingIteratorWrapper<T extends PropertyContainer,Long>
currentScore
public float currentScore()
- Specified by:
currentScore
in interface IndexHits<T extends PropertyContainer>
size
public int size()
- Specified by:
size
in interface IndexHits<T extends PropertyContainer>
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T extends PropertyContainer>
close
public void close()
- Specified by:
close
in interface IndexHits<T extends PropertyContainer>
getSingle
public T getSingle()
- Specified by:
getSingle
in interface IndexHits<T extends PropertyContainer>
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.