Save This Page
Home » lucene-2.4.1-src » org.apache » lucene » search » [javadoc | source]
org.apache.lucene.search
class: FieldCacheImpl [javadoc | source]
java.lang.Object
   org.apache.lucene.search.FieldCacheImpl

All Implemented Interfaces:
    FieldCache

Direct Known Subclasses:
    ExtendedFieldCacheImpl

Expert: The default cache implementation, storing all values in memory. A WeakHashMap is used for storage.

Created: May 19, 2004 4:40:36 PM

Nested Class Summary:
abstract static class  FieldCacheImpl.Cache  Expert: Internal cache. 
static final class  FieldCacheImpl.CreationPlaceholder   
static class  FieldCacheImpl.Entry  Expert: Every composite-key in the internal cache is of this type. 
Field Summary
 FieldCacheImpl.Cache bytesCache     
 FieldCacheImpl.Cache shortsCache     
 FieldCacheImpl.Cache intsCache     
 FieldCacheImpl.Cache floatsCache     
 FieldCacheImpl.Cache stringsCache     
 FieldCacheImpl.Cache stringsIndexCache     
 FieldCacheImpl.Cache autoCache     
 FieldCacheImpl.Cache customCache     
Method from org.apache.lucene.search.FieldCacheImpl Summary:
getAuto,   getBytes,   getBytes,   getCustom,   getFloats,   getFloats,   getInts,   getInts,   getShorts,   getShorts,   getStringIndex,   getStrings
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.FieldCacheImpl Detail:
 public Object getAuto(IndexReader reader,
    String field) throws IOException 
    removed for java 1.3 compatibility protected static final Object pFloats = Pattern.compile ("[0-9+\\-\\.eEfFdD]+");
 public byte[] getBytes(IndexReader reader,
    String field) throws IOException 
 public byte[] getBytes(IndexReader reader,
    String field,
    ByteParser parser) throws IOException 
 public Comparable[] getCustom(IndexReader reader,
    String field,
    SortComparator comparator) throws IOException 
 public float[] getFloats(IndexReader reader,
    String field) throws IOException 
 public float[] getFloats(IndexReader reader,
    String field,
    FloatParser parser) throws IOException 
 public int[] getInts(IndexReader reader,
    String field) throws IOException 
 public int[] getInts(IndexReader reader,
    String field,
    IntParser parser) throws IOException 
 public short[] getShorts(IndexReader reader,
    String field) throws IOException 
 public short[] getShorts(IndexReader reader,
    String field,
    ShortParser parser) throws IOException 
 public StringIndex getStringIndex(IndexReader reader,
    String field) throws IOException 
 public String[] getStrings(IndexReader reader,
    String field) throws IOException