Skip to content

QueryAnalyzer

Creating Instance

QueryAnalyzer takes the following to be created:

  • MetaStore
  • Output Topic Prefix
  • rowpartitionRowoffsetEnabled flag
  • pullLimitClauseEnabled flag

QueryAnalyzer is created when:

Analyzer

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)

QueryAnalyzer.analyze

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:

Back to top