
O - Object type stored in the indexpublic abstract class AbstractIndex<O> extends Object implements Index
| Modifier and Type | Field and Description | 
|---|---|
| protected Relation<O> | relationThe representation we are bound to. | 
| Constructor and Description | 
|---|
| AbstractIndex(Relation<O> relation)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | delete(DBIDRef 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(DBIDRef id)Inserts the specified object into this index. | 
| void | insertAll(DBIDs ids)Inserts the specified objects into this index. | 
public abstract String getLongName()
ResultgetLongName in interface Resultpublic abstract String getShortName()
ResultgetShortName in interface Resultpublic PageFileStatistics getPageFileStatistics()
IndexgetPageFileStatistics in interface Indexpublic void insert(DBIDRef id)
Indexpublic void insertAll(DBIDs ids)
Indexpublic boolean delete(DBIDRef id)
Index