org.apache.lucene.spatial.util
Class ShapeFieldCache<T extends com.spatial4j.core.shape.Shape>

java.lang.Object
  extended by org.apache.lucene.spatial.util.ShapeFieldCache<T>

public class ShapeFieldCache<T extends com.spatial4j.core.shape.Shape>
extends Object

NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.

Field Summary
 int defaultLength
           
 
Constructor Summary
ShapeFieldCache(int length, int defaultLength)
           
 
Method Summary
 void add(int docid, T s)
           
 List<T> getShapes(int docid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultLength

public int defaultLength
Constructor Detail

ShapeFieldCache

public ShapeFieldCache(int length,
                       int defaultLength)
Method Detail

add

public void add(int docid,
                T s)

getShapes

public List<T> getShapes(int docid)


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.