O
- Data typepublic abstract class AbstractRelation<O> extends AbstractHierarchicalResult implements Relation<O>
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
AbstractRelation()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DistanceQuery<O> |
getDistanceQuery(DistanceFunction<? super O> distanceFunction,
Object... hints)
Get the distance query for a particular distance function.
|
KNNQuery<O> |
getKNNQuery(DistanceFunction<? super O> distanceFunction,
Object... hints)
Get a KNN query object for the given distance query.
|
KNNQuery<O> |
getKNNQuery(DistanceQuery<O> distanceQuery,
Object... hints)
Get a KNN query object for the given distance query.
|
protected abstract Logging |
getLogger()
Get the class logger.
|
RangeQuery<O> |
getRangeQuery(DistanceFunction<? super O> distanceFunction,
Object... hints)
Get a range query object for the given distance query.
|
RangeQuery<O> |
getRangeQuery(DistanceQuery<O> distanceQuery,
Object... hints)
Get a range query object for the given distance query.
|
RKNNQuery<O> |
getRKNNQuery(DistanceFunction<? super O> distanceFunction,
Object... hints)
Get a rKNN query object for the given distance query.
|
RKNNQuery<O> |
getRKNNQuery(DistanceQuery<O> distanceQuery,
Object... hints)
Get a rKNN query object for the given distance query.
|
SimilarityQuery<O> |
getSimilarityQuery(SimilarityFunction<? super O> similarityFunction,
Object... hints)
Get the similarity query for a particular similarity function.
|
addChildResult, getHierarchy, setHierarchy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getDataTypeInformation, getDBIDs, iterDBIDs, size
getHierarchy, setHierarchy
getLongName, getShortName
public DistanceQuery<O> getDistanceQuery(DistanceFunction<? super O> distanceFunction, Object... hints)
Relation
getDistanceQuery
in interface Relation<O>
distanceFunction
- Distance function to usehints
- Optimizer hints (optional)public SimilarityQuery<O> getSimilarityQuery(SimilarityFunction<? super O> similarityFunction, Object... hints)
Relation
getSimilarityQuery
in interface Relation<O>
similarityFunction
- Similarity function to usehints
- Optimizer hints (optional)public KNNQuery<O> getKNNQuery(DistanceQuery<O> distanceQuery, Object... hints)
Relation
DatabaseQuery.HINT_BULK
bulk
query neededgetKNNQuery
in interface Relation<O>
distanceQuery
- Distance queryhints
- Optimizer hints (optional)public KNNQuery<O> getKNNQuery(DistanceFunction<? super O> distanceFunction, Object... hints)
Relation
DatabaseQuery.HINT_BULK
bulk
query neededgetKNNQuery
in interface Relation<O>
distanceFunction
- Distance function to usehints
- Optimizer hints (optional)public RangeQuery<O> getRangeQuery(DistanceQuery<O> distanceQuery, Object... hints)
Relation
DatabaseQuery.HINT_BULK
bulk
query neededgetRangeQuery
in interface Relation<O>
distanceQuery
- Distance queryhints
- Optimizer hints (optional)public RangeQuery<O> getRangeQuery(DistanceFunction<? super O> distanceFunction, Object... hints)
Relation
DatabaseQuery.HINT_BULK
bulk
query neededgetRangeQuery
in interface Relation<O>
distanceFunction
- Distance function to usehints
- Optimizer hints (optional)public RKNNQuery<O> getRKNNQuery(DistanceQuery<O> distanceQuery, Object... hints)
Relation
DatabaseQuery.HINT_BULK
bulk
query neededgetRKNNQuery
in interface Relation<O>
distanceQuery
- Distance queryhints
- Optimizer hints (optional)public RKNNQuery<O> getRKNNQuery(DistanceFunction<? super O> distanceFunction, Object... hints)
Relation
DatabaseQuery.HINT_BULK
bulk
query neededgetRKNNQuery
in interface Relation<O>
distanceFunction
- Distance function to usehints
- Optimizer hints (optional)protected abstract Logging getLogger()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.