Class PostgreSQLComQueryExecutor
java.lang.Object
org.apache.shardingsphere.proxy.frontend.postgresql.command.query.simple.PostgreSQLComQueryExecutor
- All Implemented Interfaces:
CommandExecutor,QueryCommandExecutor
Command query executor for PostgreSQL.
-
Constructor Summary
ConstructorsConstructorDescriptionPostgreSQLComQueryExecutor(PortalContext portalContext, PostgreSQLComQueryPacket comQueryPacket, 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
-
PostgreSQLComQueryExecutor
public PostgreSQLComQueryExecutor(PortalContext portalContext, PostgreSQLComQueryPacket comQueryPacket, 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
-