de.lmu.ifi.dbs.elki.database.query
Class AbstractDataBasedQuery<O>

java.lang.Object
  extended by 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
 
Fields inherited from interface de.lmu.ifi.dbs.elki.database.query.DatabaseQuery
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
 
Constructor Summary
AbstractDataBasedQuery(Relation<? extends O> relation)
          Database this query works on.
 
Method Summary
 Relation<? extends O> getRelation()
          Give access to the underlying data query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

relation

protected final Relation<? extends O> relation
The data to use for this query

Constructor Detail

AbstractDataBasedQuery

public AbstractDataBasedQuery(Relation<? extends O> relation)
Database this query works on.

Parameters:
relation - Representation
Method Detail

getRelation

public Relation<? extends O> getRelation()
Give access to the underlying data query.

Returns:
data query instance

Release 0.4.0 (2011-09-20_1324)