|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
O
- the type of DatabaseObject to be stored in the indexpublic interface Index<O extends DatabaseObject>
Interface defining the minimum requirements for all index classes.
Method Summary | |
---|---|
void |
close()
Closes this index. |
boolean |
delete(O object)
Deletes the specified object from this index. |
long |
getLogicalPageAccess()
Returns the logical page access of this index. |
long |
getPhysicalReadAccess()
Returns the physical read access of this index. |
long |
getPhysicalWriteAccess()
Returns the physical write access of this index. |
void |
insert(List<O> objects)
Inserts the specified objects into this index. |
void |
insert(O object)
Inserts the specified object into this index. |
void |
resetPageAccess()
Resets the three counters for page access, i.e., the counters for physical read and write access, and the counter for logical page access. |
void |
setDatabase(Database<O> database)
Sets the database in the distance function of this index (if existing). |
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable |
---|
checkGlobalParameterConstraints, collectOptions, getParameters, setParameters, shortDescription |
Method Detail |
---|
long getPhysicalReadAccess()
resetPageAccess
.long getPhysicalWriteAccess()
resetPageAccess
.long getLogicalPageAccess()
resetPageAccess
.void resetPageAccess()
void close()
void insert(O object)
object
- the vector to be insertedvoid insert(List<O> objects)
objects
- the objects to be insertedboolean delete(O object)
object
- the object to be deleted
void setDatabase(Database<O> database)
database
- the database
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |