Class SqlGenerationContext


  • public class SqlGenerationContext
    extends Object
    Context information needed during SQL generation. These information are not dialect specific. Contains information that are globally available during sql generation, but not part of the SqlNode graph.
    • Constructor Detail

      • SqlGenerationContext

        public SqlGenerationContext​(String catalogName,
                                    String schemaName,
                                    boolean isLocal)
        Creates a new instance of the SqlGenerationContext.
        Parameters:
        catalogName - catalog name as a string
        schemaName - schema name as a string
        isLocal - true if import is local
    • Method Detail

      • getCatalogName

        public String getCatalogName()
        Get a catalog's name.
        Returns:
        catalog name
      • getSchemaName

        public String getSchemaName()
        Get a schema's name.
        Returns:
        schema name
      • isLocal

        public boolean isLocal()
        Get true if import is local.
        Returns:
        true if import is local