Abstract Factory for creating SpatialPrefixTree instances with useful defaults and passed on configurations defined in a Map.
More...
Inherited by Lucene.Net.Spatial.Prefix.Tree.GeohashPrefixTree.Factory, and Lucene.Net.Spatial.Prefix.Tree.QuadPrefixTree.Factory.
|
| static SpatialPrefixTree | MakeSPT (Dictionary< String, String > args, SpatialContext ctx) |
| | The factory is looked up via "prefixTree" in args, expecting "geohash" or "quad". If its neither of these, then "geohash" is chosen for a geo context, otherwise "quad" is chosen.
|
| |
Abstract Factory for creating SpatialPrefixTree instances with useful defaults and passed on configurations defined in a Map.
Definition at line 29 of file SpatialPrefixTreeFactory.cs.
| abstract int Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.GetLevelForDistance |
( |
double |
degrees | ) |
|
|
protectedpure virtual |
| void Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.Init |
( |
Dictionary< String, String > |
args, |
|
|
SpatialContext |
ctx |
|
) |
| |
|
protected |
| void Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.InitMaxLevels |
( |
| ) |
|
|
protected |
| static SpatialPrefixTree Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.MakeSPT |
( |
Dictionary< String, String > |
args, |
|
|
SpatialContext |
ctx |
|
) |
| |
|
static |
The factory is looked up via "prefixTree" in args, expecting "geohash" or "quad". If its neither of these, then "geohash" is chosen for a geo context, otherwise "quad" is chosen.
- Parameters
-
- Returns
Definition at line 47 of file SpatialPrefixTreeFactory.cs.
| abstract SpatialPrefixTree Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.NewSPT |
( |
| ) |
|
|
protectedpure virtual |
| Dictionary<String, String> Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.args |
|
protected |
| SpatialContext Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.ctx |
|
protected |
| readonly String Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.MAX_DIST_ERR = "maxDistErr" |
|
static |
| readonly String Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.MAX_LEVELS = "maxLevels" |
|
static |
| int Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.maxLevels |
|
protected |
| readonly String Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTreeFactory.PREFIX_TREE = "prefixTree" |
|
static |
The documentation for this class was generated from the following file: