com.browseengine.bobo.facets.data
Class MultiValueFacetDataCache<T>
java.lang.Object
com.browseengine.bobo.facets.data.FacetDataCache<T>
com.browseengine.bobo.facets.data.MultiValueFacetDataCache<T>
- All Implemented Interfaces:
- Serializable
public class MultiValueFacetDataCache<T>
- extends FacetDataCache<T>
- Author:
- ymatsuda
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_nestedArray
public final BigNestedIntArray _nestedArray
MultiValueFacetDataCache
public MultiValueFacetDataCache()
setMaxItems
public void setMaxItems(int maxItems)
load
public void load(String fieldName,
org.apache.lucene.index.IndexReader reader,
TermListFactory<T> listFactory)
throws IOException
- Overrides:
load in class FacetDataCache<T>
- Throws:
IOException
load
public void load(String fieldName,
org.apache.lucene.index.IndexReader reader,
TermListFactory<T> listFactory,
BoboIndexReader.WorkArea workArea)
throws IOException
- loads multi-value facet data. This method uses a workarea to prepare loading.
- Parameters:
fieldName - reader - listFactory - workArea -
- Throws:
IOException
load
public void load(String fieldName,
org.apache.lucene.index.IndexReader reader,
TermListFactory<T> listFactory,
org.apache.lucene.index.Term sizeTerm)
throws IOException
- loads multi-value facet data. This method uses the count payload to allocate storage before loading data.
- Parameters:
fieldName - sizeTerm - reader - listFactory -
- Throws:
IOException
Copyright © 2011. All Rights Reserved.