Class MySQLCommandExecutorFactory


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

      • MySQLCommandExecutorFactory

        public MySQLCommandExecutorFactory()
    • Method Detail

      • newInstance

        public static CommandExecutor newInstance​(MySQLCommandPacketType commandPacketType,
                                                  org.apache.shardingsphere.db.protocol.packet.command.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