Class MySQLComQueryPacketExecutor
java.lang.Object
org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor
- All Implemented Interfaces:
CommandExecutor,QueryCommandExecutor
COM_QUERY command packet executor for MySQL.
-
Constructor Summary
ConstructorsConstructorDescriptionMySQLComQueryPacketExecutor(MySQLComQueryPacket packet, ConnectionSession connectionSession) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Collection<org.apache.shardingsphere.db.protocol.packet.DatabasePacket<?>>execute()booleannext()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.proxy.frontend.command.executor.QueryCommandExecutor
getResponseType
-
Constructor Details
-
MySQLComQueryPacketExecutor
public MySQLComQueryPacketExecutor(MySQLComQueryPacket packet, ConnectionSession connectionSession) throws SQLException - Throws:
SQLException
-
-
Method Details
-
execute
public Collection<org.apache.shardingsphere.db.protocol.packet.DatabasePacket<?>> execute() throws SQLException- Specified by:
executein interfaceCommandExecutor- Throws:
SQLException
-
next
- Specified by:
nextin interfaceQueryCommandExecutor- Throws:
SQLException
-
getQueryRowPacket
- Specified by:
getQueryRowPacketin interfaceQueryCommandExecutor- Throws:
SQLException
-
close
- Specified by:
closein interfaceCommandExecutor- Throws:
SQLException
-