com.github.drinkjava2.jsqlbox.handler
Class SSHandler
java.lang.Object
com.github.drinkjava2.jdbpro.DefaultOrderSqlHandler
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSHandler
public SSHandler()
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 instanceps - The PreparedSQL instance
- Returns:
- The result Object
Copyright © 2018. All rights reserved.