com.github.drinkjava2.jdbpro.handler
Class PrintSqlHandler

java.lang.Object
  extended by com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
      extended by com.github.drinkjava2.jdbpro.handler.PrintSqlHandler
All Implemented Interfaces:
SqlHandler

public class PrintSqlHandler
extends DefaultOrderSqlHandler

PaginHandler is the AroundSqlHandler used to translate SQL to paginated SQL

Since:
1.7.0.2
Author:
Yong Zhu

Field Summary
 
Fields inherited from class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
DEFAULT_ORDER, order
 
Constructor Summary
PrintSqlHandler()
           
 
Method Summary
 Object handle(ImprovedQueryRunner runner, PreparedSQL ps)
          handle method is an intercept method, subClass should implement this method
 
Methods inherited from class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
getOrder, setOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintSqlHandler

public PrintSqlHandler()
Method Detail

handle

public Object handle(ImprovedQueryRunner runner,
                     PreparedSQL ps)
Description copied from interface: SqlHandler
handle method is an intercept method, subClass should implement this method

Parameters:
runner - The ImprovedQueryRunner instance
ps - The PreparedSQL instance
Returns:
The result Object


Copyright © 2018. All rights reserved.