public final class PostgreSQLCommandExecuteEngine extends Object implements CommandExecuteEngine
| 构造器和说明 |
|---|
PostgreSQLCommandExecuteEngine() |
| 限定符和类型 | 方法和说明 |
|---|---|
CommandExecutor |
getCommandExecutor(org.apache.shardingsphere.db.protocol.packet.CommandPacketType type,
org.apache.shardingsphere.db.protocol.packet.CommandPacket packet,
ConnectionSession connectionSession) |
PostgreSQLCommandPacket |
getCommandPacket(org.apache.shardingsphere.db.protocol.payload.PacketPayload payload,
org.apache.shardingsphere.db.protocol.packet.CommandPacketType type,
ConnectionSession connectionSession) |
PostgreSQLCommandPacketType |
getCommandPacketType(org.apache.shardingsphere.db.protocol.payload.PacketPayload payload) |
org.apache.shardingsphere.db.protocol.packet.DatabasePacket<?> |
getErrorPacket(Exception cause) |
Optional<org.apache.shardingsphere.db.protocol.packet.DatabasePacket<?>> |
getOtherPacket(ConnectionSession connectionSession) |
boolean |
writeQueryData(io.netty.channel.ChannelHandlerContext context,
BackendConnection backendConnection,
QueryCommandExecutor queryCommandExecutor,
int headerPackagesCount) |
public PostgreSQLCommandPacketType getCommandPacketType(org.apache.shardingsphere.db.protocol.payload.PacketPayload payload)
getCommandPacketType 在接口中 CommandExecuteEnginepublic PostgreSQLCommandPacket getCommandPacket(org.apache.shardingsphere.db.protocol.payload.PacketPayload payload, org.apache.shardingsphere.db.protocol.packet.CommandPacketType type, ConnectionSession connectionSession)
getCommandPacket 在接口中 CommandExecuteEnginepublic CommandExecutor getCommandExecutor(org.apache.shardingsphere.db.protocol.packet.CommandPacketType type, org.apache.shardingsphere.db.protocol.packet.CommandPacket packet, ConnectionSession connectionSession) throws SQLException
getCommandExecutor 在接口中 CommandExecuteEngineSQLExceptionpublic org.apache.shardingsphere.db.protocol.packet.DatabasePacket<?> getErrorPacket(Exception cause)
getErrorPacket 在接口中 CommandExecuteEnginepublic Optional<org.apache.shardingsphere.db.protocol.packet.DatabasePacket<?>> getOtherPacket(ConnectionSession connectionSession)
getOtherPacket 在接口中 CommandExecuteEnginepublic boolean writeQueryData(io.netty.channel.ChannelHandlerContext context,
BackendConnection backendConnection,
QueryCommandExecutor queryCommandExecutor,
int headerPackagesCount)
throws SQLException
writeQueryData 在接口中 CommandExecuteEngineSQLExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.