
O - Object typeD - Distance typepublic interface RangeQuery<O,D extends Distance<D>> extends DatabaseQuery
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE| Modifier and Type | Method and Description |
|---|---|
D |
getDistanceFactory()
Get the distance data type of the function.
|
List<List<DistanceResultPair<D>>> |
getRangeForBulkDBIDs(ArrayDBIDs ids,
D range)
Bulk query method
|
List<DistanceResultPair<D>> |
getRangeForDBID(DBID id,
D range)
Get the nearest neighbors for a particular id in a given query range
|
List<DistanceResultPair<D>> |
getRangeForObject(O obj,
D range)
Get the nearest neighbors for a particular object in a given query range
|
Relation<? extends O> |
getRelation()
Access the underlying data query.
|
List<DistanceResultPair<D>> getRangeForDBID(DBID id, D range)
id - query object IDrange - Query rangeList<List<DistanceResultPair<D>>> getRangeForBulkDBIDs(ArrayDBIDs ids, D range)
ids - query object IDsrange - Query rangeList<DistanceResultPair<D>> getRangeForObject(O obj, D range)
obj - Query objectrange - Query rangeD getDistanceFactory()