public static < Data extends AbstractKVStorable > DRUMS < Data > openTable ( AccessMode accessMode , DRUMSParameterSet < Data > gp ) throws IOException { AbstractHashFunction hashFunction ; try { hashFunction = readHashFunction ( gp ) ; } catch ( ClassNotFoundException e ) { throw new IOException ( "Could not load HashFunction from " + gp . DATABASE_DIRECTORY , e ) ; } return new DRUMS < Data > ( hashFunction , accessMode , gp ) ; }
Opens an existing table .