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   
com.github.drinkjava2.jsqlbox   
com.github.drinkjava2.jsqlbox.entitynet   
com.github.drinkjava2.jsqlbox.handler   
com.github.drinkjava2.jsqlbox.sqlitem   
 

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)
           
 

Uses of PreparedSQL in com.github.drinkjava2.jsqlbox
 

Methods in com.github.drinkjava2.jsqlbox that return PreparedSQL
 PreparedSQL SqlMapperGuesser.doGuessPreparedSQL(SqlBoxContext ctx, Object entity, Object... params)
           
 PreparedSQL SqlMapperDefaultGuesser.doGuessPreparedSQL(SqlBoxContext ctx, Object ac, Object... params)
           
 PreparedSQL ActiveRecordSupport.guessPreparedSQL(Object... params)
          In SqlMapper style, return current method's prepared SQL
 PreparedSQL ActiveRecord.guessPreparedSQL(Object... params)
           
 

Methods in com.github.drinkjava2.jsqlbox with parameters of type PreparedSQL
static void SqlBoxContextUtils.appendLeftJoinSQL(PreparedSQL ps)
          Based on PreparedSQL's models and alias, automatically build and append a SQL like below:
static void SqlBoxContextUtils.createLastAutoAliasName(PreparedSQL ps)
          Create auto Alias name based on capital letters of class name in models of PreparedSQL, if alias already exists, put a number at end, for example:
User ->u
User, UserRole, UserOther, Order, Order_a -> u, u1, u2, o, o1
protected  boolean SqlBoxContext.dealOneSqlItem(boolean iXxxStyle, PreparedSQL ps, Object item)
          Override DbPro's dealItem method to deal SqlBoxContext's SqlItem
protected  DbPro SqlBoxContext.handleShardDatabase(PreparedSQL predSQL, SqlItem item)
           
protected  String SqlBoxContext.handleShardTable(PreparedSQL predSQL, SqlItem item)
           
 

Uses of PreparedSQL in com.github.drinkjava2.jsqlbox.entitynet
 

Methods in com.github.drinkjava2.jsqlbox.entitynet with parameters of type PreparedSQL
 EntityNet EntityNet.configFromPreparedSQL(PreparedSQL ps)
          Config, parameters can be entity or entity class or TableModel
 

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

Methods in com.github.drinkjava2.jsqlbox.handler with parameters of type PreparedSQL
 Object SSTitleArrayListHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 Object SSMapListHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 Object SSHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 Object PaginHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 Object EntityNetHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 Object EntityListHandler.handle(ImprovedQueryRunner runner, PreparedSQL ps)
           
 

Uses of PreparedSQL in com.github.drinkjava2.jsqlbox.sqlitem
 

Methods in com.github.drinkjava2.jsqlbox.sqlitem with parameters of type PreparedSQL
 void SampleItem.doPrepare(PreparedSQL ps)
           
 void EntityKeyItem.doPrepare(PreparedSQL ps)
           
 



Copyright © 2018. All rights reserved.