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

Packages that use SqlItem
com.github.drinkjava2.jdbpro   
com.github.drinkjava2.jsqlbox   
 

Uses of SqlItem in com.github.drinkjava2.jdbpro
 

Methods in com.github.drinkjava2.jdbpro that return SqlItem
static SqlItem JDBPRO.bind(Object... parameters)
          For tXxxx style templateEngine use, return a SqlItemType.PUT type SqlItem instance, Usage: put("key1",value1,"key2",value2...);
static SqlItem JDBPRO.disableHandlers(Class<?>... args)
          Create a SqlOption.IOC_OBJECT type SqlItem instance, args will create instance by IocTool
static SqlItem JDBPRO.ioc(Class<?>... args)
          Create a SqlOption.IOC_OBJECT type SqlItem instance, args will create instance by IocTool
static SqlItem JDBPRO.notNull(Object... items)
          If last param is not null, then add all items in SQL
static SqlItem JDBPRO.param(Object... parameters)
          Return a SqlItemType.PARAM type SqlItem instance
static SqlItem JDBPRO.question(Object... parameters)
          Cache parameters and return a "?" String
static SqlItem JDBPRO.sql(Object... parameters)
          Cache parameters and return an empty String
static SqlItem JDBPRO.switchTo(DbPro dpPro)
          Switch to another DbPro
static SqlItem JDBPRO.valuesQuestions()
          Create "values(?,?,?...,?)" String according how many SQL parameters be cached
 

Methods in com.github.drinkjava2.jdbpro that return types with arguments of type SqlItem
 List<SqlItem> PreparedSQL.getOthers()
           
 

Methods in com.github.drinkjava2.jdbpro with parameters of type SqlItem
 void PreparedSQL.addOther(SqlItem obj)
           
 void PreparedSQL.addTemplateParam(SqlItem sp)
           
 

Method parameters in com.github.drinkjava2.jdbpro with type arguments of type SqlItem
 void PreparedSQL.setOthers(List<SqlItem> others)
           
 

Uses of SqlItem in com.github.drinkjava2.jsqlbox
 

Methods in com.github.drinkjava2.jsqlbox that return SqlItem
static SqlItem JSQLBOX.alias(String... alias)
          Create a model configurations with iven alias name
 SqlItem ActiveRecordSupport.bind(Object... parameters)
          For tXxxx style templateEngine use, return a SqlItemType.PUT type SqlItem instance, Usage: put("key1",value1,"key2",value2...);
 SqlItem ActiveRecord.bind(Object... parameters)
           
static SqlItem JSQLBOX.give(String from, String to)
          For EntityNet Query use, see user manual
static SqlItem JSQLBOX.give(String from, String to, String fieldName)
          For EntityNet Query use, see user manual
static SqlItem JSQLBOX.giveBoth(String from, String to)
          For EntityNet Query use, see user manual
static SqlItem JSQLBOX.noPagin()
          Disable PaginHandler
static SqlItem JSQLBOX.shardDB(Object... shardvalues)
          Build a SHARD_DATABASE type sqlItem
static SqlItem JSQLBOX.shardTB(Object... shardvalues)
          Build a SHARD_TABLE type sqlItem
 

Methods in com.github.drinkjava2.jsqlbox with parameters of type SqlItem
protected  DbPro SqlBoxContext.handleShardDatabase(PreparedSQL predSQL, SqlItem item)
           
protected  String SqlBoxContext.handleShardTable(PreparedSQL predSQL, SqlItem item)
           
 



Copyright © 2018. All rights reserved.