Package elki.database.datastore
Interface DataStoreIDMap
-
- All Known Subinterfaces:
DBIDRange
- All Known Implementing Classes:
IntegerDBIDRange
public interface DataStoreIDMap
Interface to map DBIDs to integer record ids for use in storage.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
mapDBIDToOffset(DBIDRef dbid)
Map a DBID to an array offset.
-
-
-
Method Detail
-
mapDBIDToOffset
int mapDBIDToOffset(DBIDRef dbid)
Map a DBID to an array offset.- Parameters:
dbid
- DBID- Returns:
- record id
id >= 0
-
-