Class MySQLFrontendEngine
java.lang.Object
org.apache.shardingsphere.proxy.frontend.mysql.MySQLFrontendEngine
- All Implemented Interfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI,DatabaseProtocolFrontendEngine
Frontend engine for MySQL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidhandleException(ConnectionSession connectionSession, Exception exception) voidinitChannel(io.netty.channel.Channel channel) voidrelease(ConnectionSession connectionSession) voidsetDatabaseVersion(String databaseName, String databaseVersion) 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.spi.DatabaseProtocolFrontendEngine
getAuthenticationEngine, getCodecEngine, getCommandExecuteEngine, getFrontendContextMethods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
getTypeAliases, init, isDefault
-
Constructor Details
-
MySQLFrontendEngine
public MySQLFrontendEngine()
-
-
Method Details
-
initChannel
public void initChannel(io.netty.channel.Channel channel) - Specified by:
initChannelin interfaceDatabaseProtocolFrontendEngine
-
setDatabaseVersion
- Specified by:
setDatabaseVersionin interfaceDatabaseProtocolFrontendEngine
-
release
- Specified by:
releasein interfaceDatabaseProtocolFrontendEngine
-
handleException
- Specified by:
handleExceptionin interfaceDatabaseProtocolFrontendEngine
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
-