ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.query.lucene
Class LuceneQueryEngine.TupleCollector

java.lang.Object
  extended by org.apache.lucene.search.Collector
      extended by org.modeshape.jcr.query.lucene.LuceneQueryEngine.TupleCollector
Direct Known Subclasses:
BasicTupleCollector, ExistsTupleCollector
Enclosing class:
LuceneQueryEngine

public abstract static class LuceneQueryEngine.TupleCollector
extends org.apache.lucene.search.Collector


Constructor Summary
LuceneQueryEngine.TupleCollector()
           
 
Method Summary
 void collect(int doc)
           
abstract  float doCollect(int doc)
           
abstract  List<Object[]> getTuples()
          Get the tuples.
 
Methods inherited from class org.apache.lucene.search.Collector
acceptsDocsOutOfOrder, setNextReader, setScorer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneQueryEngine.TupleCollector

public LuceneQueryEngine.TupleCollector()
Method Detail

getTuples

public abstract List<Object[]> getTuples()
Get the tuples.

Returns:
the tuples; never null

collect

public final void collect(int doc)
                   throws IOException
Specified by:
collect in class org.apache.lucene.search.Collector
Throws:
IOException

doCollect

public abstract float doCollect(int doc)
                         throws IOException
Throws:
IOException

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.