com.alibaba.druid.mock.handler
Class MySqlMockExecuteHandlerImpl

java.lang.Object
  extended by com.alibaba.druid.mock.handler.MySqlMockExecuteHandlerImpl
All Implemented Interfaces:
MockExecuteHandler

public class MySqlMockExecuteHandlerImpl
extends Object
implements MockExecuteHandler


Constructor Summary
MySqlMockExecuteHandlerImpl()
           
 
Method Summary
 ResultSet executeQuery(MockStatementBase statement, SQLSelectQueryBlock query)
           
 ResultSet executeQuery(MockStatementBase statement, String sql)
           
 ResultSet executeQueryFromDual(MockStatementBase statement, SQLSelectQueryBlock query)
           
 ResultSet showStatus(MockStatementBase statement)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySqlMockExecuteHandlerImpl

public MySqlMockExecuteHandlerImpl()
Method Detail

executeQuery

public ResultSet executeQuery(MockStatementBase statement,
                              String sql)
                       throws SQLException
Specified by:
executeQuery in interface MockExecuteHandler
Throws:
SQLException

executeQuery

public ResultSet executeQuery(MockStatementBase statement,
                              SQLSelectQueryBlock query)
                       throws SQLException
Throws:
SQLException

showStatus

public ResultSet showStatus(MockStatementBase statement)
                     throws SQLException
Throws:
SQLException

executeQueryFromDual

public ResultSet executeQueryFromDual(MockStatementBase statement,
                                      SQLSelectQueryBlock query)
                               throws SQLException
Throws:
SQLException


Copyright © 2012 Alibaba Group. All Rights Reserved.