public abstract static class AbstractDatabaseDistanceFunction.Instance<O,D extends Distance<D>> extends AbstractDatabaseDistanceQuery<O,D>
Modifier and Type | Field and Description |
---|---|
(package private) DistanceFunction<? super O,D> |
parent
Parent distance
|
relation
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
AbstractDatabaseDistanceFunction.Instance(Relation<O> database,
DistanceFunction<? super O,D> parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<? super O,D> |
getDistanceFunction()
Get the inner distance function.
|
distance, distance, distance
distance, getDistanceFactory, infiniteDistance, nullDistance, undefinedDistance
getRelation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRelation
DistanceFunction<? super O,D extends Distance<D>> parent
public AbstractDatabaseDistanceFunction.Instance(Relation<O> database, DistanceFunction<? super O,D> parent)
database
- Databaseparent
- Parent distancepublic DistanceFunction<? super O,D> getDistanceFunction()
DistanceQuery