code: public DatabaseType getDatabaseType() {
          if (lexer instanceof H2Lexer) {
              return DatabaseType.H2;
          }
          if (lexer instanceof MySQLLexer) {
              return DatabaseType.MySQL;
          }
          if (lexer instanceof OracleLexer) {
              return DatabaseType.Oracle;
          }
          if (lexer instanceof SQLServerLexer) {
              return DatabaseType.SQLServer;
          }
          if (lexer instanceof PostgreSQLLexer) {
              return DatabaseType.PostgreSQL;
          }
          throw new UnsupportedOperationException(String.format("Cannot support lexer class: %s", lexer.getClass().getCanonicalName()));
      }
docs: Get database type.
  
  @return database type