public Map<String, ColumnMeta> getPrimaryKeyMap() {
        Map<String, ColumnMeta> pk = new HashMap<>();
        allIndexes.forEach((key, index) -> {
            if (index.getIndextype().value() == IndexType.PRIMARY.value()) {
                for (ColumnMeta col : index.getValues()) {
                    pk.put(col.getColumnName(), col);
                }
            }
        });

        if (pk.size() < 1) {
            throw new NotSupportYetException(String.format("%s needs to contain the primary key.", tableName));
        }

        return pk;
    }
@Test
    public void testGetPrimaryKeyMap() {
        Map<String, ColumnMeta> pkCol = tableMeta.getPrimaryKeyMap();

        assertEquals(2, pkCol.size());
        assertTrue(pkCol.containsKey("col1"));
        assertTrue(pkCol.containsKey("col2"));
    }