com.pyxis.greenhopper.jira.util.collector
Class MultipleCollectors

java.lang.Object
  extended by org.apache.lucene.search.Collector
      extended by com.atlassian.jira.issue.statistics.util.DocumentHitCollector
          extended by com.pyxis.greenhopper.jira.util.collector.SimpleFieldCollector
              extended by com.pyxis.greenhopper.jira.util.collector.MultipleCollectors

public class MultipleCollectors
extends SimpleFieldCollector


Field Summary
 
Fields inherited from class com.pyxis.greenhopper.jira.util.collector.SimpleFieldCollector
fieldName, value
 
Fields inherited from class com.atlassian.jira.issue.statistics.util.DocumentHitCollector
searcher
 
Constructor Summary
MultipleCollectors(org.apache.lucene.search.IndexSearcher searcher, java.lang.String name)
           
 
Method Summary
 void add(SimpleFieldCollector collector)
           
 void doCollect(org.apache.lucene.document.Document d)
           
 java.util.Map<java.lang.String,java.lang.Object> getValues()
           
 
Methods inherited from class com.pyxis.greenhopper.jira.util.collector.SimpleFieldCollector
collect, getFieldName, getValue
 
Methods inherited from class com.atlassian.jira.issue.statistics.util.DocumentHitCollector
acceptsDocsOutOfOrder, collect, setNextReader, setScorer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleCollectors

public MultipleCollectors(org.apache.lucene.search.IndexSearcher searcher,
                          java.lang.String name)
Method Detail

add

public void add(SimpleFieldCollector collector)

doCollect

public void doCollect(org.apache.lucene.document.Document d)
Specified by:
doCollect in class SimpleFieldCollector

getValues

public java.util.Map<java.lang.String,java.lang.Object> getValues()


Copyright © 2007-2012 Atlassian. All Rights Reserved.