public TableMetaDataView getTableMetaDataView(Connection connection,
      RegionMapping regionMapping) {
    return JavaWorkarounds.computeIfAbsent(tableToMetaDataMap, computeTableName(regionMapping),
        k -> computeTableMetaDataView(connection, k, regionMapping));
  }
Given a tableName this manager will determine which column should correspond to the Geode Region
key. The current implementation uses a connection to lookup the SQL metadata for the table and
find a single column that is a primary key on that table. If the table was configured with more
than one column as a primary key or no columns then an exception is thrown. The computation is
remembered so that it does not need to be recomputed for the same table name.
geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/TableMetaDataManager.java