|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.index.AbstractIndex<O>
O - Object type stored in the indexpublic abstract class AbstractIndex<O>

Abstract base class for indexes with some implementation defaults.
| Field Summary | |
|---|---|
protected Relation<O> |
relation
The representation we are bound to. |
| Constructor Summary | |
|---|---|
AbstractIndex(Relation<O> relation)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
delete(DBID id)
Deletes the specified object from this index. |
void |
deleteAll(DBIDs id)
Deletes the specified objects from this index. |
abstract String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus. |
PageFileStatistics |
getPageFileStatistics()
Get the underlying page file (or a proxy), for access counts. |
abstract String |
getShortName()
A short name for the result, useful for file names. |
void |
insert(DBID id)
Inserts the specified object into this index. |
void |
insertAll(DBIDs ids)
Inserts the specified objects into this index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Relation<O> relation
| Constructor Detail |
|---|
public AbstractIndex(Relation<O> relation)
relation - Relation indexed| Method Detail |
|---|
public abstract String getLongName()
Result
getLongName in interface Resultpublic abstract String getShortName()
Result
getShortName in interface Resultpublic PageFileStatistics getPageFileStatistics()
Index
getPageFileStatistics in interface Indexpublic void insert(DBID id)
Index
insert in interface Indexid - the object to be insertedpublic void insertAll(DBIDs ids)
Index
insertAll in interface Indexids - the objects to be insertedpublic boolean delete(DBID id)
Index
delete in interface Indexid - Object to remove
public void deleteAll(DBIDs id)
Index
deleteAll in interface Indexid - Objects to remove
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||