Ejemplo n.º 1
0
 // Load the index HTrees
 private void getIndex(String indexPath) {
   recman = JdbmUtil.getRecordManager(indexPath);
   dateIndex = JdbmUtil.getHTree(recman, "dateIndex");
   patientIndex = JdbmUtil.getHTree(recman, "patientIndex");
   studyIndex = JdbmUtil.getHTree(recman, "studyIndex");
   seriesIndex = JdbmUtil.getHTree(recman, "seriesIndex");
 }
Ejemplo n.º 2
0
 // Load the RecordManager and the index BTree
 private void getIndex(String indexPath) {
   try {
     recman = JdbmUtil.getRecordManager(indexPath);
     index = JdbmUtil.getBTree(recman, "index");
   } catch (Exception ex) {
     recman = null;
     logger.warn("Unable to load the index.");
   }
 }