presto-elasticsearch/src/main/java/io/prestosql/elasticsearch/ElasticsearchMetadata.java/ElasticsearchMetadata/listTables
class ElasticsearchMetadata:    @Override
    public List<SchemaTableName> listTables(ConnectorSession session, Optional<String> schemaName)
    {
        if (schemaName.isPresent() && !schemaName.get().equals(this.schemaName)) {
            return ImmutableList.of();
        }

        return client.getIndexes().stream()
                .map(index -> new SchemaTableName(this.schemaName, index))
                .collect(toImmutableList());
    }