Skip to content


Creating Instance

QueryAnalyzer takes the following to be created:

QueryAnalyzer is created when:


Unless given, QueryAnalyzer creates an Analyzer when created.

The Analyzer is used to analyze a query.

Query Analysis

Analysis analyze(
  Query query,
  Optional<Sink> sink)


analyze requests the Analyzer to analyze the query.

analyze requests the pull or push query validator to validate the analysis based on whether it is a pull query or not, respectively.

The optional Sink can only be defined when QueryEngine is requested to buildQueryLogicalPlan.

analyze is used when: