de.lmu.ifi.dbs.elki.database.query
Class AbstractDataBasedQuery<O>
java.lang.Object
de.lmu.ifi.dbs.elki.database.query.AbstractDataBasedQuery<O>
- Type Parameters:
O
- Database object type
- All Implemented Interfaces:
- DatabaseQuery
- Direct Known Subclasses:
- AbstractDistanceKNNQuery, AbstractDistanceQuery, AbstractDistanceRangeQuery, AbstractRKNNQuery, AbstractSimilarityQuery, PreprocessorKNNQuery, PreprocessorRKNNQuery
public abstract class AbstractDataBasedQuery<O>
- extends Object
- implements DatabaseQuery
Abstract query bound to a certain representation.
Field Summary |
protected Relation<? extends O> |
relation
The data to use for this query |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
relation
protected final Relation<? extends O> relation
- The data to use for this query
AbstractDataBasedQuery
public AbstractDataBasedQuery(Relation<? extends O> relation)
- Database this query works on.
- Parameters:
relation
- Representation
getRelation
public Relation<? extends O> getRelation()
- Give access to the underlying data query.
- Returns:
- data query instance