Class TSQLEnv

Object
gudusoft.gsqlparser.sqlenv.TSQLEnv
Direct Known Subclasses:
GrabitSQLEnv, MultipleGrabitSQLEnv, MultipleSQLDepSQLEnv, SQLDepSQLEnv, SqlflowSQLEnv, TDDLSQLEnv

public abstract class TSQLEnv extends Object
SQL environment includes the metadata of a list of databases. The typical scenario is there is one database includes some schemas, and each schema includes some tables, views, procedures and etc.

Database known as catalog in ANSI SQL.
Each catalog including a list of schemas.
Each schema including a list of schema objects such as table, procedure, function, trigger and more.
Implement your own concrete class derived from this class to get the metadata from a real database. Usually, this is done by querying the INFORMATION_SCHEMA in the initSQLEnv() method which should be override in your own class.