Class SqlValidatorFixture

java.lang.Object
org.apache.calcite.test.SqlValidatorFixture

public class SqlValidatorFixture extends Object
A fixture for testing the SQL validator.

It provides a fluent API so that you can write tests by chaining method calls.

It is immutable. If you have two test cases that require a similar set up (for example, the same SQL expression and parser configuration), it is safe to use the same fixture object as a starting point for both tests.