org.neo4j.index.impl.lucene
Class HitsIterator

java.lang.Object
  extended by org.neo4j.helpers.collection.PrefetchingIterator<T>
      extended by org.neo4j.index.impl.lucene.AbstractIndexHits<org.apache.lucene.document.Document>
          extended by org.neo4j.index.impl.lucene.HitsIterator
All Implemented Interfaces:
Iterable<org.apache.lucene.document.Document>, Iterator<org.apache.lucene.document.Document>, org.neo4j.graphdb.index.IndexHits<org.apache.lucene.document.Document>

public class HitsIterator
extends AbstractIndexHits<org.apache.lucene.document.Document>


Constructor Summary
HitsIterator(Hits hits)
           
 
Method Summary
 float currentScore()
           
protected  org.apache.lucene.document.Document fetchNextOrNull()
           
 int size()
           
 
Methods inherited from class org.neo4j.index.impl.lucene.AbstractIndexHits
close, getSingle, iterator
 
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
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

HitsIterator

public HitsIterator(Hits hits)
Method Detail

fetchNextOrNull

protected org.apache.lucene.document.Document fetchNextOrNull()
Specified by:
fetchNextOrNull in class org.neo4j.helpers.collection.PrefetchingIterator<org.apache.lucene.document.Document>

currentScore

public float currentScore()

size

public int size()


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.