hms-lambda-handler/src/main/java/com/amazonaws/athena/hms/handler/GetDatabasesHandler.java [45:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public Set<String> getDatabaseNames(String filter, HiveMetaStoreClient client) throws TException
  {
    if (filter == null || filter.isEmpty()) {
      return new HashSet<>(client.getAllDatabases());
    }
    return client.getAllDatabases()
            .stream()
            .filter(n -> n.matches(filter))
            .collect(Collectors.toSet());
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hms-lambda-handler/src/main/java/com/amazonaws/athena/hms/handler/DbExistsHandler.java [40:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public Set<String> getDatabaseNames(String filter, HiveMetaStoreClient client) throws TException
  {
    if (filter == null || filter.isEmpty()) {
      return new HashSet<>(client.getAllDatabases());
    }
    return client.getAllDatabases()
            .stream()
            .filter(n -> n.matches(filter))
            .collect(Collectors.toSet());
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hms-lambda-handler/src/main/java/com/amazonaws/athena/hms/handler/GetDatabaseNamesHandler.java [43:52]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public Set<String> getDatabaseNames(String filter, HiveMetaStoreClient client) throws TException
  {
    if (filter == null || filter.isEmpty()) {
      return new HashSet<>(client.getAllDatabases());
    }
    return client.getAllDatabases()
            .stream()
            .filter(n -> n.matches(filter))
            .collect(Collectors.toSet());
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hms-lambda-handler/src/main/java/com/amazonaws/athena/hms/handler/ListDatabasesHandler.java [73:82]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Set<String> getDatabaseNames(String filter) throws TException
    {
      if (filter == null || filter.isEmpty()) {
        return new HashSet<>(client.getAllDatabases());
      }
      return client.getAllDatabases()
              .stream()
              .filter(n -> n.matches(filter))
              .collect(Collectors.toSet());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



