
O - Object typepublic abstract class AbstractRefiningIndex<O> extends AbstractIndex<O> implements PageFileStatistics
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractRefiningIndex.AbstractKNNQuery<D extends Distance<D>>KNN query for this index. | 
| class  | AbstractRefiningIndex.AbstractRangeQuery<D extends Distance<D>>Range query for this index. | 
| Modifier and Type | Field and Description | 
|---|---|
| private int | refinementsRefinement counter. | 
relation| Constructor and Description | 
|---|
| AbstractRefiningIndex(Relation<O> relation)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| PageFileStatistics | getInnerStatistics()Get statistics for the inner page file, if present. | 
| PageFileStatistics | getPageFileStatistics()Get the underlying page file (or a proxy), for access counts. | 
| long | getReadOperations()Returns the read I/O-Accesses of this file. | 
| long | getWriteOperations()Returns the write I/O-Accesses of this file. | 
| protected abstract void | initialize(Relation<O> relation,
          DBIDs ids)Initialize the index. | 
| void | insertAll(DBIDs ids)Inserts the specified objects into this index. | 
| protected O | refine(DBID id)Refine a given object (and count the refinement!). | 
| void | resetPageAccess()Resets the counters for page accesses of this file and flushes the cache. | 
delete, deleteAll, getLongName, getShortName, insertprotected abstract void initialize(Relation<O> relation, DBIDs ids)
relation - Relation to indexids - database idsprotected O refine(DBID id)
id - Object idpublic PageFileStatistics getPageFileStatistics()
IndexgetPageFileStatistics in interface IndexgetPageFileStatistics in class AbstractIndex<O>public long getReadOperations()
PageFileStatisticsgetReadOperations in interface PageFileStatisticspublic long getWriteOperations()
PageFileStatisticsgetWriteOperations in interface PageFileStatisticspublic void resetPageAccess()
PageFileStatisticsresetPageAccess in interface PageFileStatisticspublic PageFileStatistics getInnerStatistics()
PageFileStatisticsgetInnerStatistics in interface PageFileStatisticspublic void insertAll(DBIDs ids)
IndexinsertAll in interface IndexinsertAll in class AbstractIndex<O>ids - the objects to be inserted