com.atlassian.jira.jql.query
Class IssueIdCollector

java.lang.Object
  extended by org.apache.lucene.search.Collector
      extended by com.atlassian.jira.jql.query.IssueIdCollector

public class IssueIdCollector
extends org.apache.lucene.search.Collector

Collect Issue Ids for subquery searchers.

Since:
v6.1

Constructor Summary
IssueIdCollector(org.apache.lucene.index.IndexReader indexReader)
           
 
Method Summary
 boolean acceptsDocsOutOfOrder()
           
 void collect(int doc)
           
 Set<String> getAllIssueIds()
           
 Set<String> getIssueIds()
           
 Set<String> getIssueIdsByTerms()
           
 Set<String> getIssueIdsDirectly()
           
 void setNextReader(org.apache.lucene.index.IndexReader reader, int docBase)
           
 void setScorer(org.apache.lucene.search.Scorer scorer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueIdCollector

public IssueIdCollector(org.apache.lucene.index.IndexReader indexReader)
Method Detail

setScorer

public void setScorer(org.apache.lucene.search.Scorer scorer)
               throws IOException
Specified by:
setScorer in class org.apache.lucene.search.Collector
Throws:
IOException

collect

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

setNextReader

public void setNextReader(org.apache.lucene.index.IndexReader reader,
                          int docBase)
                   throws IOException
Specified by:
setNextReader in class org.apache.lucene.search.Collector
Throws:
IOException

acceptsDocsOutOfOrder

public boolean acceptsDocsOutOfOrder()
Specified by:
acceptsDocsOutOfOrder in class org.apache.lucene.search.Collector

getIssueIds

public Set<String> getIssueIds()
                        throws IOException
Throws:
IOException

getIssueIdsDirectly

public Set<String> getIssueIdsDirectly()
                                throws IOException
Throws:
IOException

getIssueIdsByTerms

public Set<String> getIssueIdsByTerms()
                               throws IOException
Throws:
IOException

getAllIssueIds

public Set<String> getAllIssueIds()
                           throws IOException
Throws:
IOException


Copyright © 2002-2014 Atlassian. All Rights Reserved.