public Map<Long, VectorStoreEntry> readVectors() throws SQLException {
		char[] vectorDecodeBuffer = Base64VectorFactory.allocateBuffer();
		HashMap<Long, VectorStoreEntry> map = new HashMap<>();
		try (Statement st = db.createStatement();
				ResultSet rs = st.executeQuery("SELECT id,count,vec FROM " + TABLE_NAME)) {
			while (rs.next()) {
				long id = rs.getLong(1);
				int count = rs.getInt(2);
				Reader r = new StringReader(rs.getString(3));
				LSHVector vec = vectorFactory.restoreVectorFromBase64(r, vectorDecodeBuffer);
				VectorStoreEntry entry =
					new VectorStoreEntry(id, vec, count, vectorFactory.getSelfSignificance(vec));
				map.put(id, entry);
			}
		}
		catch (IOException e) {
			throw new SQLException(e); // unexpected for StringReader
		}
		return map;
	}
Read all vectors from table and generate an ID-based vector map
@return vector map (ID->VectorStoreEntry)
@throws SQLException if error occurs
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/file/H2VectorTable.java