com.senseidb.search.query
Class TimeRetentionFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by com.senseidb.search.query.TimeRetentionFilter
All Implemented Interfaces:
Serializable

public class TimeRetentionFilter
extends org.apache.lucene.search.Filter

See Also:
Serialized Form

Constructor Summary
TimeRetentionFilter(String column, int nDays, TimeUnit dataUnit)
           
 
Method Summary
 org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeRetentionFilter

public TimeRetentionFilter(String column,
                           int nDays,
                           TimeUnit dataUnit)
Method Detail

getDocIdSet

public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
                                              throws IOException
Specified by:
getDocIdSet in class org.apache.lucene.search.Filter
Throws:
IOException


Copyright © 2010-2012. All Rights Reserved.