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