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