Class ParameterGroupIdDb


  • public class ParameterGroupIdDb
    extends Object
    Stores a map between List<parameter_id> and ParameterGroup_id. Stores data in the main tablespace database key = tbsIndex,ParameterGroup_id value = SortedVarArray of parameter_id Backed by RocksDB
    • Method Detail

      • createAndGet

        public int createAndGet​(IntArray s)
                         throws org.rocksdb.RocksDBException
        Creates (if not already there) a new ParameterGroupId for the given parameter id array
        Parameters:
        s -
        Returns:
        the parameterGroupId for the given parameter id array
        Throws:
        org.rocksdb.RocksDBException
      • getParameterGroup

        public IntArray getParameterGroup​(int pg)
      • getAllGroups

        public int[] getAllGroups​(int pid)
        get all parameter group ids for the parameters from which this parameter id is part of
        Parameters:
        pid -
        Returns:
        the parameter group ids for the parameters groups that contain the pid