org.modeshape.jcr.query.lucene

## Class LuceneQueryEngine.TupleCollector

- java.lang.Object
- - org.apache.lucene.search.Collector
  - - 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

    Constructors
    Constructor and Description
    `LuceneQueryEngine.TupleCollector()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

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