Class SqlValidatorTester

java.lang.Object
org.apache.calcite.sql.test.AbstractSqlTester
org.apache.calcite.sql.test.SqlValidatorTester
All Implemented Interfaces:
AutoCloseable, SqlTester

public class SqlValidatorTester extends AbstractSqlTester
Implementation of SqlTester that can parse and validate SQL, and convert it to relational algebra.

This tester is therefore suitable for many general-purpose tests, including SQL parsing, validation, and SQL-to-Rel conversion.

  • Field Details

    • DEFAULT

      public static final SqlValidatorTester DEFAULT
      Default instance of this tester.
  • Constructor Details

    • SqlValidatorTester

      public SqlValidatorTester()