org.neo4j.index.impl.lucene
Class CombinedIndexHits<T>

java.lang.Object
  extended by org.neo4j.helpers.collection.PrefetchingIterator<T>
      extended by org.neo4j.helpers.collection.CombiningIterator<T>
          extended by org.neo4j.index.impl.lucene.CombinedIndexHits<T>
All Implemented Interfaces:
Iterable<T>, Iterator<T>, IndexHits<T>

public class CombinedIndexHits<T>
extends CombiningIterator<T>
implements IndexHits<T>


Constructor Summary
CombinedIndexHits(Collection<IndexHits<T>> iterators)
           
 
Method Summary
 void close()
           
protected  IndexHits<T> currentIterator()
           
 float currentScore()
           
 T getSingle()
           
 Iterator<T> iterator()
           
 int size()
           
 
Methods inherited from class org.neo4j.helpers.collection.CombiningIterator
fetchNextOrNull
 
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

CombinedIndexHits

public CombinedIndexHits(Collection<IndexHits<T>> iterators)
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>

currentIterator

protected IndexHits<T> currentIterator()
Overrides:
currentIterator in class CombiningIterator<T>

size

public int size()
Specified by:
size in interface IndexHits<T>

close

public void close()
Specified by:
close in interface IndexHits<T>

getSingle

public T getSingle()
Specified by:
getSingle in interface IndexHits<T>

currentScore

public float currentScore()
Specified by:
currentScore in interface IndexHits<T>


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.