code: @Override
      public void check(Connection conn, String scName, Collection<String> tbNames) throws IllegalMetaDataException {
          if (scName == null) {
              throw new IllegalArgumentException("[Check MetaData Failed] parameter 'scName' can't be null");
          }
          if (tbNames == null || tbNames.isEmpty()) {
              throw new IllegalArgumentException("[Check MetaData Failed] parameter 'tbNames' can't be empty");
          }
          try {
              Set<String> set = getAllTables(conn, scName);
              if (set == null || set.isEmpty()) {
                  throw new IllegalMetaDataException(
                                                     "[Check MetaData Failed] Schema:'"
                                                             + scName
                                                             + "' has nothing tables. but in your configuration it requires table:"
                                                             + DDRJSONUtils.toJSONString(tbNames));
              }
              for (String tbName : tbNames) {
                  if (!set.contains(tbName)) {
                      throw new IllegalMetaDataException("[Check MetaData Failed] Schema:'" + scName
                                                         + "' only has tables:" + DDRJSONUtils.toJSONString(set)
                                                         + ", but in your configuration it requires table:" + tbName);
                  }
              }
          } catch (SQLException e) {
              throw new RuntimeException(e);
          }
      }
docs: 检查指定schema下是否包含指定的table
  
  @throws IllegalMetaDataException