Class ShapeFieldCacheProvider<T>
Provides access to a ShapeFieldCache<T> for a given AtomicReader.
If a Cache does not exist for the TextReader, 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.
Inheritance
System.Object
ShapeFieldCacheProvider<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Spatial.dll
Syntax
[Serializable]
public abstract class ShapeFieldCacheProvider<T>
where T : IShape
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
ShapeFieldCacheProvider(String, Int32) |
Fields
Name | Description |
---|---|
m_defaultSize | |
m_shapeField |
Methods
Name | Description |
---|---|
GetCache(AtomicReader) | |
ReadShape(BytesRef) |