public static class GeohashPrefixTree.Factory extends SpatialPrefixTreeFactory
GeohashPrefixTree
instances with useful defaultsargs, ctx, MAX_DIST_ERR, MAX_LEVELS, maxLevels, PREFIX_TREE
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
protected int |
getLevelForDistance(double degrees)
|
protected SpatialPrefixTree |
newSPT() |
init, initMaxLevels, makeSPT
protected int getLevelForDistance(double degrees)
SpatialPrefixTreeFactory
getLevelForDistance
in class SpatialPrefixTreeFactory
protected SpatialPrefixTree newSPT()
newSPT
in class SpatialPrefixTreeFactory
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.