Class GeohashPrefixTree.Factory
java.lang.Object
org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree.Factory
- Enclosing class:
 GeohashPrefixTree
Factory for creating 
GeohashPrefixTree instances with useful defaults- 
Field Summary
Fields inherited from class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
args, ctx, MAX_DIST_ERR, MAX_LEVELS, maxLevels, PREFIX_TREE, VERSION - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected intgetLevelForDistance(double degrees) protected SpatialPrefixTreenewSPT()Methods inherited from class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
getVersion, init, initMaxLevels, initVersion, makeSPT, setVersion 
- 
Constructor Details
- 
Factory
public Factory() 
 - 
 - 
Method Details
- 
getLevelForDistance
protected int getLevelForDistance(double degrees) Description copied from class:SpatialPrefixTreeFactory- Specified by:
 getLevelForDistancein classSpatialPrefixTreeFactory
 - 
newSPT
- Specified by:
 newSPTin classSpatialPrefixTreeFactory
 
 -