java.lang.Object
org.apache.shardingsphere.proxy.frontend.mysql.command.query.binary.prepare.MySQLComStmtPrepareChecker

public final class MySQLComStmtPrepareChecker extends Object
COM_STMT_PREPARE command statement checker for MySQL.
See Also:
  • Constructor Details

    • MySQLComStmtPrepareChecker

      public MySQLComStmtPrepareChecker()
  • Method Details

    • isStatementAllowed

      public static boolean isStatementAllowed(org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement)
      Judge if SQL statement is allowed.
      Parameters:
      sqlStatement - SQL statement
      Returns:
      SQL statement is allowed or not