| java.lang.Object org.apache.lucene.search.FieldCacheImpl
All known Subclasses: org.apache.lucene.search.ExtendedFieldCacheImpl,
FieldCacheImpl | class FieldCacheImpl implements FieldCache(Code) | | Expert: The default cache implementation, storing all values in memory.
A WeakHashMap is used for storage.
Created: May 19, 2004 4:40:36 PM
author: Tim Jones (Nacimiento Software) since: lucene 1.4 version: $Id: FieldCacheImpl.java 605225 2007-12-18 15:13:05Z gsingers $ |
Inner Class :abstract static class Cache | |
Inner Class :final static class CreationPlaceholder | |
Inner Class :static class Entry | |
Method Summary | |
public Object | getAuto(IndexReader reader, String field) | public byte[] | getBytes(IndexReader reader, String field) | public byte[] | getBytes(IndexReader reader, String field, ByteParser parser) | public Comparable[] | getCustom(IndexReader reader, String field, SortComparator comparator) | public float[] | getFloats(IndexReader reader, String field) | public float[] | getFloats(IndexReader reader, String field, FloatParser parser) | public int[] | getInts(IndexReader reader, String field) | public int[] | getInts(IndexReader reader, String field, IntParser parser) | public short[] | getShorts(IndexReader reader, String field) | public short[] | getShorts(IndexReader reader, String field, ShortParser parser) | public StringIndex | getStringIndex(IndexReader reader, String field) | public String[] | getStrings(IndexReader reader, String field) |
autoCache | Cache autoCache(Code) | | |
bytesCache | Cache bytesCache(Code) | | |
customCache | Cache customCache(Code) | | |
floatsCache | Cache floatsCache(Code) | | |
intsCache | Cache intsCache(Code) | | |
shortsCache | Cache shortsCache(Code) | | |
stringsCache | Cache stringsCache(Code) | | |
stringsIndexCache | Cache stringsIndexCache(Code) | | |
getAuto | public Object getAuto(IndexReader reader, String field) throws IOException(Code) | | removed for java 1.3 compatibility
protected static final Object pFloats = Pattern.compile ("[0-9+\\-\\.eEfFdD]+");
|
|
|