Class MySQLCommandExecutorFactory

java.lang.Object
org.apache.shardingsphere.proxy.frontend.mysql.command.MySQLCommandExecutorFactory

public final class MySQLCommandExecutorFactory extends Object
Command executor factory for MySQL.
  • Constructor Details

    • MySQLCommandExecutorFactory

      public MySQLCommandExecutorFactory()
  • Method Details

    • newInstance

      public static CommandExecutor newInstance(MySQLCommandPacketType commandPacketType, org.apache.shardingsphere.db.protocol.packet.CommandPacket commandPacket, ConnectionSession connectionSession) throws SQLException
      Create new instance of packet executor.
      Parameters:
      commandPacketType - command packet type for MySQL
      commandPacket - command packet for MySQL
      connectionSession - connection session
      Returns:
      created instance
      Throws:
      SQLException - SQL exception