Class MySQLCommandExecutorFactory
java.lang.Object
org.apache.shardingsphere.proxy.frontend.mysql.command.MySQLCommandExecutorFactory
Command executor factory for MySQL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandExecutornewInstance(MySQLCommandPacketType commandPacketType, org.apache.shardingsphere.db.protocol.packet.CommandPacket commandPacket, ConnectionSession connectionSession) Create new instance of packet executor.
-
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 MySQLcommandPacket- command packet for MySQLconnectionSession- connection session- Returns:
- created instance
- Throws:
SQLException- SQL exception
-