Uses of Interface
org.huiche.ast.statement.Insert
Packages that use Insert
Package
Description
可操作接口,包括表达式|语句|引用的操作
SQL语句
SQL子句
ast支持相关
Dao实现的支持
-
Uses of Insert in org.huiche.ast.operable
Methods in org.huiche.ast.operable that return InsertModifier and TypeMethodDescriptiondefault Insert设置插入列, 只能设置1次或0次(等同插入全部列),再次设置则覆盖default Insert设置插入列, 只能设置1次或0次(等同插入全部列),再次设置则覆盖default Insert设置插入列, 只能设置1次或0次(等同插入全部列),再次设置则覆盖设置插入列, 只能设置1次或0次(等同插入全部列),再次设置则覆盖default <T> InsertInsertOperable.columns(SerializableFunction<T, ?>... columns) 设置插入列, 只能设置1次或0次(等同插入全部列),再次设置则覆盖设置select,构造insert select语句,与InsertOperable.values(Object...)冲突,二者只能设置其一default Insert插入一行的数据,多行请多次调用,与InsertOperable.select(Select)冲突,二者只能设置其一插入一行的数据,多行请多次调用,与InsertOperable.select(Select)冲突,二者只能设置其一 -
Uses of Insert in org.huiche.ast.statement
Classes in org.huiche.ast.statement that implement InsertMethods in org.huiche.ast.statement that return Insert -
Uses of Insert in org.huiche.ast.statement.clause
Methods in org.huiche.ast.statement.clause that return Insert -
Uses of Insert in org.huiche.ast.support
Methods in org.huiche.ast.support that return InsertModifier and TypeMethodDescriptionstatic InsertSql.insertInto(Class<?> entityClass) 创建insert语句static <T> InsertSql.insertInto(Class<T> entityClass, SerializableFunction<T, ?>... columns) 创建insert语句static InsertSql.insertInto(String tableName) 创建insert语句static InsertSql.insertInto(Table table) 创建insert语句 -
Uses of Insert in org.huiche.dao.support
Methods in org.huiche.dao.support with parameters of type InsertModifier and TypeMethodDescriptiondefault voidDaoInterceptor.afterInsert(Class<?> entityClass, Object source, Insert insert, int result) 插入执行之后
已执行完毕,一般只用来记录voidDaoInterceptors.afterInsert(Class<?> entityClass, Object source, Insert insert, int result) default voidDaoInterceptor.afterInsertBatch(Class<?> entityClass, List<?> sources, Insert insert, int result) 批量插入执行之后
已执行完毕,一般只用来记录
如果原entities包含已赋值自增id和未赋值id两组,则会分开两组执行,调用2次voidDaoInterceptors.afterInsertBatch(Class<?> entityClass, List<?> sources, Insert insert, int result) default voidDaoInterceptor.beforeInsert(Class<?> entityClass, Object source, Insert insert) 插入执行之前
此时已经 生成插入语句, 修改实体对象不会改变插入语句,但可以直接修改插入语句voidDaoInterceptors.beforeInsert(Class<?> entityClass, Object source, Insert insert) default voidDaoInterceptor.beforeInsertBatch(Class<?> entityClass, List<?> sources, Insert insert) 批量插入执行之前
此时已经 生成插入语句, 修改实体对象不会改变插入语句,但可以直接修改插入语句
如果 原entities包含已赋值自增id和未赋值id两组,则会分开两组执行,调用2次voidDaoInterceptors.beforeInsertBatch(Class<?> entityClass, List<?> sources, Insert insert)