public Map<String, TDatabaseSchema> getMatchedDatabaseSchemasByName(
      final List<String> rawPathList, final Boolean isTableModel) {
    final Map<String, TDatabaseSchema> result = new ConcurrentHashMap<>();
    clusterSchemaInfo
        .getMatchedDatabaseSchemasByName(rawPathList, isTableModel)
        .forEach(
            (database, databaseSchema) -> {
              if (isDatabaseExist(databaseSchema.getName())) {
                result.put(database, databaseSchema);
              }
            });
    return result;
  }
Only leader use this interface. Get the specified Databases' schemaengine

@param rawPathList List<DatabaseName>
@return the matched DatabaseSchemas
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java