O
- Object type stored in the indexpublic abstract class AbstractIndex<O> extends Object implements Index
Modifier and Type | Field and Description |
---|---|
protected Relation<O> |
relation
The representation we are bound to.
|
Constructor and Description |
---|
AbstractIndex(Relation<O> relation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public abstract String getLongName()
Result
getLongName
in interface Result
public abstract String getShortName()
Result
getShortName
in interface Result
public PageFileStatistics getPageFileStatistics()
Index
getPageFileStatistics
in interface Index
public void insert(DBID id)
Index
public void insertAll(DBIDs ids)
Index
public boolean delete(DBID id)
Index