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 Summary
Constructors Constructor Description MySQLCommandExecutorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandExecutornewInstance(MySQLCommandPacketType commandPacketType, org.apache.shardingsphere.db.protocol.packet.command.CommandPacket commandPacket, ConnectionSession connectionSession)Create new instance of packet executor.
-
-
-
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 MySQLcommandPacket- command packet for MySQLconnectionSession- connection session- Returns:
- created instance
- Throws:
SQLException- SQL exception
-
-