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 Detail

      • mapDBIDToOffset

        int mapDBIDToOffset​(DBIDRef dbid)
        Map a DBID to an array offset.
        Parameters:
        dbid - DBID
        Returns:
        record id id >= 0