Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » filter » [javadoc | source]
org.hibernate.search.filter
public class: CachingWrapperFilter [javadoc | source]
java.lang.Object
   org.apache.lucene.search.Filter
      org.hibernate.search.filter.CachingWrapperFilter

All Implemented Interfaces:
    Serializable

A slightly different version of Lucene's original CachingWrapperFilter which uses SoftReferences instead of WeakReferences in order to cache the filter BitSet.
Field Summary
public static final  int DEFAULT_SIZE     
Constructor:
 public CachingWrapperFilter(Filter filter) 
    Parameters:
    filter - Filter to cache results of
 public CachingWrapperFilter(Filter filter,
    int size) 
    Parameters:
    filter - Filter to cache results of
Method from org.hibernate.search.filter.CachingWrapperFilter Summary:
bits,   equals,   hashCode,   toString
Methods from org.apache.lucene.search.Filter:
bits
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.search.filter.CachingWrapperFilter Detail:
 public BitSet bits(IndexReader reader) throws IOException 
 public boolean equals(Object o) 
 public int hashCode() 
 public String toString()