Uses of Class
com.github.drinkjava2.jdbpro.PreparedSQL

Packages that use PreparedSQL
com.github.drinkjava2.jdbpro   
com.github.drinkjava2.jdbpro.handler   
com.github.drinkjava2.jdbpro.template   
 

Uses of PreparedSQL in com.github.drinkjava2.jdbpro
 

Methods in com.github.drinkjava2.jdbpro that return PreparedSQL
 PreparedSQL DbPro.dealSqlItems(PreparedSQL lastPreSql, boolean iXxxStyle, Object... items)
          Deal with multiple SqlItems
 PreparedSQL DbPro.iPrepare(Object... items)
          Prepare a PreparedSQL for iXxxx (Single SQL) style, unknown objects (include null) will automatically looked as SQL pieces, more detail see doPrepare method
 PreparedSQL DbPro.pPrepare(Object... items)
          Prepare a PreparedSQL for pXxxx (Single SQL) style, pXxxx style only allow single String (The first appeared) as SQL, unknown objects (include null) will automatically looked as SQL parameters, more detail see doPrepare method
 

Methods in com.github.drinkjava2.jdbpro that return types with arguments of type PreparedSQL
 ThreadLocal<ArrayList<PreparedSQL>> ImprovedQueryRunner.getSqlBatchCache()
           
 

Methods in com.github.drinkjava2.jdbpro with parameters of type PreparedSQL
protected  boolean DbPro.dealOneSqlItem(boolean iXxxStyle, PreparedSQL predSQL, Object item)
          Here deal one SqlItem, if can deal it, return true, otherwise return false, subclass (like SqlBoxContext) can override this method
 PreparedSQL DbPro.dealSqlItems(PreparedSQL lastPreSql, boolean iXxxStyle, Object... items)
          Deal with multiple SqlItems
 void CustomizedSqlItem.doPrepare(PreparedSQL ps)
          Prepare special SQL items
 Object SqlHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
          handle method is an intercept method, subClass should implement this method
protected
<T> T
ImprovedQueryRunner.runExecute(PreparedSQL ps)
          Executes the PreparedSQL query statement
protected
<T> T
ImprovedQueryRunner.runInsert(PreparedSQL ps)
          Executes the PreparedSQL insert statement
 Object ImprovedQueryRunner.runPreparedSQL(PreparedSQL ps)
          This is the core method of whole project, handle a PreparedSQL instance and return a result
protected
<T> T
ImprovedQueryRunner.runQuery(PreparedSQL ps)
          Executes the PreparedSQL query statement
 Object ImprovedQueryRunner.runRealSqlMethod(PreparedSQL ps)
          Execute real SQL operation according PreparedSql's SqlType
protected  int ImprovedQueryRunner.runUpdate(PreparedSQL ps)
          Executes the PreparedSQL update statement
 

Uses of PreparedSQL in com.github.drinkjava2.jdbpro.handler
 

Methods in com.github.drinkjava2.jdbpro.handler with parameters of type PreparedSQL
 Object SimpleCacheHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 Object PrintSqlHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 

Uses of PreparedSQL in com.github.drinkjava2.jdbpro.template
 

Methods in com.github.drinkjava2.jdbpro.template that return PreparedSQL
 PreparedSQL SqlTemplateEngine.render(String sqlTemplateOrSqlID, Map<String,Object> paramMap, Object[] unbindedParams)
          Render a SQL Template String and a Map instance into a PreparedSQL instance
 PreparedSQL BasicSqlTemplate.render(String sqlTemplate, Map<String,Object> paramMap, Object[] unbindParams)
           
 



Copyright © 2018. All rights reserved.