Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Lucene.Net.Spatial.Util.ShapeFieldCacheProvider< T > Class Template Referenceabstract

Provides access to a ShapeFieldCache for a given AtomicReader. More...

Public Member Functions

ShapeFieldCache< T > GetCache (IndexReader reader)
 

Protected Member Functions

 ShapeFieldCacheProvider (String shapeField, int defaultSize)
 
abstract T ReadShape (Term term)
 

Protected Attributes

readonly int defaultSize
 
readonly String shapeField
 

Detailed Description

Provides access to a ShapeFieldCache for a given AtomicReader.

If a Cache does not exist for the Reader, then it is built by iterating over the all terms for a given field, reconstructing the Shape from them, and adding them to the Cache.

Template Parameters
T
Type Constraints
T :Shape 

Definition at line 36 of file ShapeFieldCacheProvider.cs.

Constructor & Destructor Documentation

Lucene.Net.Spatial.Util.ShapeFieldCacheProvider< T >.ShapeFieldCacheProvider ( String  shapeField,
int  defaultSize 
)
protected

Definition at line 53 of file ShapeFieldCacheProvider.cs.

Member Function Documentation

ShapeFieldCache<T> Lucene.Net.Spatial.Util.ShapeFieldCacheProvider< T >.GetCache ( IndexReader  reader)

Definition at line 63 of file ShapeFieldCacheProvider.cs.

abstract T Lucene.Net.Spatial.Util.ShapeFieldCacheProvider< T >.ReadShape ( Term  term)
protectedpure virtual

Member Data Documentation

readonly int Lucene.Net.Spatial.Util.ShapeFieldCacheProvider< T >.defaultSize
protected

Definition at line 50 of file ShapeFieldCacheProvider.cs.

readonly String Lucene.Net.Spatial.Util.ShapeFieldCacheProvider< T >.shapeField
protected

Definition at line 51 of file ShapeFieldCacheProvider.cs.


The documentation for this class was generated from the following file: