public final class RStarTreeUtil extends Object
Constructor and Description |
---|
RStarTreeUtil() |
Modifier and Type | Method and Description |
---|---|
static <O extends SpatialComparable,D extends Distance<D>> |
getKNNQuery(AbstractRStarTree<?,?,?> tree,
SpatialDistanceQuery<O,D> distanceQuery,
Object... hints)
Get an RTree knn query, using an optimized double implementation when
possible.
|
static <O extends SpatialComparable,D extends Distance<D>> |
getRangeQuery(AbstractRStarTree<?,?,?> tree,
SpatialDistanceQuery<O,D> distanceQuery,
Object... hints)
Get an RTree range query, using an optimized double implementation when
possible.
|
public static <O extends SpatialComparable,D extends Distance<D>> RangeQuery<O,D> getRangeQuery(AbstractRStarTree<?,?,?> tree, SpatialDistanceQuery<O,D> distanceQuery, Object... hints)
O
- Object typeD
- Distance typetree
- Tree to querydistanceQuery
- distance queryhints
- Optimizer hintspublic static <O extends SpatialComparable,D extends Distance<D>> KNNQuery<O,D> getKNNQuery(AbstractRStarTree<?,?,?> tree, SpatialDistanceQuery<O,D> distanceQuery, Object... hints)
O
- Object typeD
- Distance typetree
- Tree to querydistanceQuery
- distance queryhints
- Optimizer hints