public class IntMetaDataCache extends Object implements MetaDataCache
| Constructor and Description |
|---|
IntMetaDataCache(org.apache.lucene.index.Term term,
org.apache.lucene.index.IndexReader reader) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public IntMetaDataCache(org.apache.lucene.index.Term term,
org.apache.lucene.index.IndexReader reader)
throws IOException
IOExceptionprotected void add(int docid,
byte[] data,
int blen)
protected void loadPayload(org.apache.lucene.index.Term term)
throws IOException
IOExceptionpublic int getValue(int docid,
int idx,
int defaultValue)
public int getNumItems(int docid)
public int maxDoc()
Copyright © 2005–2013. All rights reserved.