接口 JSqlClient
- 所有超级接口:
SubQueryProvider
- 所有已知子接口:
JSqlClientImplementor
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明caches(Consumer<CacheDisableConfig> block) <SE,ST extends Table<SE>, TE, TT extends Table<TE>>
MutableRootQuery<AssociationTable<SE,ST, TE, TT>> createAssociationQuery(AssociationTable<SE, ST, TE, TT> table) createDelete(TableProxy<?> table) <T extends TableProxy<?>>
MutableRootQuery<T>createQuery(T table) createUpdate(TableProxy<?> table) default DeleteResultdeleteById(Class<?> entityType, Object id) default DeleteResultdeleteById(Class<?> entityType, Object id, DeleteMode mode) default DeleteResultdeleteByIds(Class<?> entityType, Collection<?> ids) default DeleteResultdeleteByIds(Class<?> entityType, Collection<?> ids, DeleteMode mode) filters(Consumer<FilterConfig> block) default <E> Edefault <E> Edefault <E> List<E>findByIds(Class<E> entityType, Collection<?> ids) default <E> List<E>findByIds(Fetcher<E> fetcher, Collection<?> ids) default <K,V> @Nullable Map<K, V> findMapByIds(Class<V> entityType, Collection<K> ids) default <K,V> @Nullable Map<K, V> findMapByIds(Fetcher<V> fetcher, Collection<K> ids) getAssociations(org.babyfish.jimmer.meta.ImmutableProp immutableProp) getAssociations(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop) getAssociations(AssociationType associationType) This method is equivalent to `getTriggers(false)`getTriggers(boolean transaction) If trigger type is 'BINLOG_ONLY' If `transaction` is true, throws exception If `transaction` is false, return binlog trigger If trigger type is 'TRANSACTION_ONLY', returns transaction trigger no matter what the `transaction` is If trigger type is 'BOTH' If `transaction` is true, return transaction trigger If `transaction` is false, return binlog trigger Note that the objects returned by different parameters are independent of each other.default <E> SimpleSaveResult<E>insert(E entity) default <E> SimpleSaveResult<E>insert(org.babyfish.jimmer.Input<E> input) static JSqlClient.Builderdefault <E> SimpleSaveResult<E>save(E entity) default <E> SimpleSaveResult<E>default <E> SimpleSaveResult<E>save(org.babyfish.jimmer.Input<E> input) default <E> SimpleSaveResult<E>default <E> SimpleSaveResult<E>update(E entity) default <E> SimpleSaveResult<E>update(org.babyfish.jimmer.Input<E> input) 从接口继承的方法 org.babyfish.jimmer.sql.ast.query.SubQueryProvider
createAssociationSubQuery, createSubQuery
-
方法详细资料
-
newBuilder
-
createQuery
-
createUpdate
-
createDelete
-
createAssociationQuery
<SE,ST extends Table<SE>, MutableRootQuery<AssociationTable<SE,TE, TT extends Table<TE>> ST, createAssociationQueryTE, TT>> (AssociationTable<SE, ST, TE, TT> table) -
getEntities
Entities getEntities() -
getTriggers
Triggers getTriggers()This method is equivalent to `getTriggers(false)`- 返回:
-
getTriggers
-
If trigger type is 'BINLOG_ONLY'
- If `transaction` is true, throws exception
- If `transaction` is false, return binlog trigger
- If trigger type is 'TRANSACTION_ONLY', returns transaction trigger no matter what the `transaction` is
-
If trigger type is 'BOTH'
- If `transaction` is true, return transaction trigger
- If `transaction` is false, return binlog trigger
- 参数:
transaction-- 返回:
- Trigger
-
If trigger type is 'BINLOG_ONLY'
-
getAssociations
-
getAssociations
-
getAssociations
-
getLoaders
Loaders getLoaders() -
getCaches
Caches getCaches() -
getFilters
Filters getFilters() -
getBinLog
BinLog getBinLog() -
caches
-
filters
-
disableSlaveConnectionManager
-
findById
-
findById
-
findByIds
-
findByIds
-
findMapByIds
-
findMapByIds
-
save
-
save
-
insert
-
update
-
save
-
save
-
insert
-
update
-
deleteById
-
deleteById
-
deleteByIds
-
deleteByIds
-