Class PostgreSQLCommandExecutorFactory
java.lang.Object
org.apache.shardingsphere.proxy.frontend.postgresql.command.PostgreSQLCommandExecutorFactory
Command executor factory for PostgreSQL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandExecutornewInstance(PostgreSQLCommandPacketType commandPacketType, PostgreSQLCommandPacket commandPacket, ConnectionSession connectionSession, PortalContext portalContext) Create new instance of command executor.
-
Constructor Details
-
PostgreSQLCommandExecutorFactory
public PostgreSQLCommandExecutorFactory()
-
-
Method Details
-
newInstance
public static CommandExecutor newInstance(PostgreSQLCommandPacketType commandPacketType, PostgreSQLCommandPacket commandPacket, ConnectionSession connectionSession, PortalContext portalContext) throws SQLException Create new instance of command executor.- Parameters:
commandPacketType- command packet type for PostgreSQLcommandPacket- command packet for PostgreSQLconnectionSession- connection sessionportalContext- PostgreSQL portal context- Returns:
- created instance
- Throws:
SQLException- SQL exception
-