Class MySQLSaneQueryResultEngine
java.lang.Object
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.sane.mysql.MySQLSaneQueryResultEngine
- All Implemented Interfaces:
SaneQueryResultEngine,org.apache.shardingsphere.spi.type.typed.TypedSPI
Sane query result engine for MySQL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSaneQueryResult(org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement) Get sane query result.getType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.spi.type.typed.TypedSPI
getTypeAliases
-
Constructor Details
-
MySQLSaneQueryResultEngine
public MySQLSaneQueryResultEngine()
-
-
Method Details
-
getSaneQueryResult
public Optional<ExecuteResult> getSaneQueryResult(org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement sqlStatement) Description copied from interface:SaneQueryResultEngineGet sane query result.- Specified by:
getSaneQueryResultin interfaceSaneQueryResultEngine- Parameters:
sqlStatement- SQL statement- Returns:
- sane execute result
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.spi.type.typed.TypedSPI
-