com.github.drinkjava2.jsqlbox.handler
Class SSHandler

java.lang.Object
  extended by com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
      extended by com.github.drinkjava2.jsqlbox.handler.SSHandler
All Implemented Interfaces:
SqlHandler
Direct Known Subclasses:
SSMapListHandler, SSTitleArrayListHandler

public class SSHandler
extends DefaultOrderSqlHandler

SSHandler is used to explain alias.** to real columns in SQL, transient columns not included, the example: select u.** from users u ==> select u.name as u_name, u.address as u_address from users u SS means star-star

Since:
1.0.0
Author:
Yong Zhu

Field Summary
 
Fields inherited from class com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
DEFAULT_ORDER, order
 
Constructor Summary
SSHandler()
           
 
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

SSHandler

public SSHandler()
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.