|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult de.lmu.ifi.dbs.elki.database.AbstractDatabase de.lmu.ifi.dbs.elki.database.ProxyDatabase
public class ProxyDatabase
A proxy database to use e.g. for projections and partitions.
Field Summary | |
---|---|
protected DBIDView |
idrep
Our DBID representation |
protected DBIDs |
ids
Our DBIDs |
private static Logging |
logger
Logger class. |
Fields inherited from class de.lmu.ifi.dbs.elki.database.AbstractDatabase |
---|
eventManager, INDEX_ID, indexes, indexFactories, relations |
Constructor Summary | |
---|---|
ProxyDatabase(DBIDs ids)
Constructor. |
|
ProxyDatabase(DBIDs ids,
Database database)
Constructor, proxying all relations of an existing database. |
|
ProxyDatabase(DBIDs ids,
Iterable<Relation<?>> relations)
Constructor. |
|
ProxyDatabase(DBIDs ids,
Relation<?>... relations)
Constructor. |
Method Summary | |
---|---|
void |
addRelation(Relation<?> relation)
Add a new representation. |
StaticDBIDs |
getDBIDs()
Deprecated. |
protected Logging |
getLogger()
|
void |
initialize()
Initialize the database, for example by loading the input data. |
int |
size()
Deprecated. |
Methods inherited from class de.lmu.ifi.dbs.elki.database.AbstractDatabase |
---|
accumulateDataStoreEvents, addDataStoreListener, addIndex, flushDataStoreEvents, getBundle, getDistanceQuery, getIndexes, getKNNQuery, getLongName, getRangeQuery, getRelation, getRelations, getRKNNQuery, getShortName, getSimilarityQuery, removeDataStoreListener, removeIndex |
Methods inherited from class de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult |
---|
addChildResult, getHierarchy, setHierarchy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.result.HierarchicalResult |
---|
getHierarchy, setHierarchy |
Field Detail |
---|
private static final Logging logger
protected final DBIDs ids
protected final DBIDView idrep
Constructor Detail |
---|
public ProxyDatabase(DBIDs ids)
ids
- DBIDs to usepublic ProxyDatabase(DBIDs ids, Iterable<Relation<?>> relations)
ids
- DBIDs to userelations
- Relations to containpublic ProxyDatabase(DBIDs ids, Relation<?>... relations)
ids
- DBIDs to userelations
- Relations to containpublic ProxyDatabase(DBIDs ids, Database database)
ids
- ids to proxydatabase
- Database to wrapMethod Detail |
---|
public void initialize()
Database
public void addRelation(Relation<?> relation)
relation
- Representation to add.@Deprecated public int size()
Database
@Deprecated public StaticDBIDs getDBIDs()
Database
protected Logging getLogger()
getLogger
in class AbstractDatabase
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |