public class RangeIDMap extends Object implements DataStoreIDMap
Modifier and Type | Field and Description |
---|---|
(package private) DBIDRange |
range
Start offset
|
Constructor and Description |
---|
RangeIDMap(DBIDRange range)
Constructor from a static DBID range allocation.
|
final DBIDRange range
public RangeIDMap(DBIDRange range)
range
- DBID range to usepublic int map(DBID dbid)
DataStoreIDMap
map
in interface DataStoreIDMap
dbid
- DBIDid >= 0