Interface SqlValidatorCatalogReader

All Superinterfaces:
Wrapper
All Known Subinterfaces:
Prepare.CatalogReader
All Known Implementing Classes:
CalciteCatalogReader, DelegatingSqlValidatorCatalogReader, MockCatalogReader, MockCatalogReaderDynamic, MockCatalogReaderExtended, MockCatalogReaderSimple

public interface SqlValidatorCatalogReader extends Wrapper
Supplies catalog information for SqlValidator.

This interface only provides a thin API to the underlying repository, and this is intentional. By only presenting the repository information of interest to the validator, we reduce the dependency on exact mechanism to implement the repository. It is also possible to construct mock implementations of this interface for testing purposes.