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>, org.neo4j.graphdb.index.IndexHits<T>

public class CombinedIndexHits<T>
extends org.neo4j.helpers.collection.CombiningIterator<T>
implements org.neo4j.graphdb.index.IndexHits<T>


Constructor Summary
CombinedIndexHits(Collection<org.neo4j.graphdb.index.IndexHits<T>> iterators)
           
 
Method Summary
 void close()
           
protected  org.neo4j.graphdb.index.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<org.neo4j.graphdb.index.IndexHits<T>> iterators)
Method Detail

iterator

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

currentIterator

protected org.neo4j.graphdb.index.IndexHits<T> currentIterator()
Overrides:
currentIterator in class org.neo4j.helpers.collection.CombiningIterator<T>

size

public int size()
Specified by:
size in interface org.neo4j.graphdb.index.IndexHits<T>

close

public void close()
Specified by:
close in interface org.neo4j.graphdb.index.IndexHits<T>

getSingle

public T getSingle()
Specified by:
getSingle in interface org.neo4j.graphdb.index.IndexHits<T>

currentScore

public float currentScore()
Specified by:
currentScore in interface org.neo4j.graphdb.index.IndexHits<T>


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