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

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.WatchedFieldsSumCollector

public class WatchedFieldsSumCollector
extends SimpleFieldCollector


Field Summary
protected  org.apache.log4j.Logger log
           
 
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
WatchedFieldsSumCollector(org.apache.lucene.search.IndexSearcher searcher, java.util.Set<WatchedField> watchedFields)
           
 
Method Summary
 void doCollect(org.apache.lucene.document.Document d)
           
 java.lang.Object getValue()
           
 
Methods inherited from class com.pyxis.greenhopper.jira.util.collector.SimpleFieldCollector
collect, getFieldName
 
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
 

Field Detail

log

protected final org.apache.log4j.Logger log
Constructor Detail

WatchedFieldsSumCollector

public WatchedFieldsSumCollector(org.apache.lucene.search.IndexSearcher searcher,
                                 java.util.Set<WatchedField> watchedFields)
Method Detail

doCollect

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

getValue

public java.lang.Object getValue()
Overrides:
getValue in class SimpleFieldCollector


Copyright © 2007-2012 Atlassian. All Rights Reserved.