Class MvStoreUtil
java.lang.Object
org.monarchinitiative.lirical.exomiser_db_adapter.MvStoreUtil
Utility class for helping read and write Alleles to the
MVStore- Since:
- 9.0.0
- Author:
- Jules Jacobsen
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.h2.mvstore.MVMap<AlleleProto.AlleleKey,AlleleProto.AlleleProperties> openAlleleMVMap(org.h2.mvstore.MVStore mvStore) Opens the 'alleles' map from theMVStore.static org.h2.mvstore.MVMap<AlleleProto.AlleleKey,AlleleProto.ClinVar> openClinVarMVMap(org.h2.mvstore.MVStore mvStore) Opens the 'clinvar' map from theMVStore.
-
Method Details
-
openAlleleMVMap
public static org.h2.mvstore.MVMap<AlleleProto.AlleleKey,AlleleProto.AlleleProperties> openAlleleMVMap(org.h2.mvstore.MVStore mvStore) Opens the 'alleles' map from theMVStore. If the store does not already contain this map, a new one will be created and returned.- Parameters:
mvStore- TheMVStoreto be used for the 'alleles'MVMap- Returns:
- an instance of the
MVMap. This map may be empty. - Since:
- 10.1.0
-
openClinVarMVMap
public static org.h2.mvstore.MVMap<AlleleProto.AlleleKey,AlleleProto.ClinVar> openClinVarMVMap(org.h2.mvstore.MVStore mvStore) Opens the 'clinvar' map from theMVStore. If the store does not already contain this map, a new one will be created and returned.- Parameters:
mvStore- TheMVStoreto be used for the 'clinvar'MVMap- Returns:
- an instance of the
MVMap. This map may be empty. - Since:
- 14.0.0
-