com.browseengine.bobo.search.section
Class IntMetaDataCache

java.lang.Object
  extended by com.browseengine.bobo.search.section.IntMetaDataCache
All Implemented Interfaces:
MetaDataCache

public class IntMetaDataCache
extends Object
implements MetaDataCache


Constructor Summary
IntMetaDataCache(org.apache.lucene.index.Term term, org.apache.lucene.index.IndexReader reader)
           
 
Method Summary
protected  void add(int docid, byte[] data, int blen)
           
 int getNumItems(int docid)
           
 int getValue(int docid, int idx, int defaultValue)
           
protected  void loadPayload(org.apache.lucene.index.Term term)
           
 int maxDoc()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntMetaDataCache

public IntMetaDataCache(org.apache.lucene.index.Term term,
                        org.apache.lucene.index.IndexReader reader)
                 throws IOException
Throws:
IOException
Method Detail

add

protected void add(int docid,
                   byte[] data,
                   int blen)

loadPayload

protected void loadPayload(org.apache.lucene.index.Term term)
                    throws IOException
Throws:
IOException

getValue

public int getValue(int docid,
                    int idx,
                    int defaultValue)

getNumItems

public int getNumItems(int docid)

maxDoc

public int maxDoc()


Copyright © 2011. All Rights Reserved.