Class ShowSchemasHandler


public class ShowSchemasHandler extends DefaultSqlHandler
  • Constructor Details

  • Method Details

    • rewrite

      public org.apache.calcite.sql.SqlNode rewrite(org.apache.calcite.sql.SqlNode sqlNode) throws ForemanSetupException
      Rewrite the parse tree as SELECT ... FROM INFORMATION_SCHEMA.SCHEMATA ...
      Overrides:
      rewrite in class DefaultSqlHandler
      Parameters:
      sqlNode - sql parse tree to be rewritten
      Returns:
      Rewritten sql parse tree
      Throws:
      ForemanSetupException