Search in sources :

Example 1 with QueryExplainerFactory

use of io.trino.sql.analyzer.QueryExplainerFactory in project trino by trinodb.

the class LocalQueryRunner method getQueryExplainer.

@Override
public QueryExplainer getQueryExplainer() {
    QueryExplainerFactory queryExplainerFactory = createQueryExplainerFactory(getPlanOptimizers(true));
    AnalyzerFactory analyzerFactory = createAnalyzerFactory(queryExplainerFactory);
    return queryExplainerFactory.createQueryExplainer(analyzerFactory);
}
Also used : QueryExplainerFactory(io.trino.sql.analyzer.QueryExplainerFactory) StatementAnalyzerFactory(io.trino.sql.analyzer.StatementAnalyzerFactory) AnalyzerFactory(io.trino.sql.analyzer.AnalyzerFactory)

Aggregations

AnalyzerFactory (io.trino.sql.analyzer.AnalyzerFactory)1 QueryExplainerFactory (io.trino.sql.analyzer.QueryExplainerFactory)1 StatementAnalyzerFactory (io.trino.sql.analyzer.StatementAnalyzerFactory)1