类 AbstractJSqlClientDelegate
java.lang.Object
org.babyfish.jimmer.sql.di.AbstractJSqlClientDelegate
- 所有已实现的接口:
DeprecatedMoreSaveOperations,DeprecatedSaveOperations,SaveCommandCreator,SaveOperations,SubQueryProvider,JSqlClient,org.babyfish.jimmer.sql.meta.SqlContext,JSqlClientImplementor
- 直接已知子类:
JLazyInitializationSqlClient
-
嵌套类概要
从接口继承的嵌套类/接口 org.babyfish.jimmer.sql.runtime.JSqlClientImplementor
JSqlClientImplementor.Builder -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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) <SE,ST extends TableEx<SE>, TE, TT extends TableEx<TE>>
MutableSubQuerycreateAssociationSubQuery(AssociationTable<SE, ST, TE, TT> table) createDelete(TableProxy<?> table) <T extends TableProxy<?>>
MutableRootQuery<T> createQuery(T table) createSubQuery(TableProxy<?> table) createUpdate(TableProxy<?> table) deleteById(@NotNull Class<?> type, @NotNull Object id, @NotNull DeleteMode mode) deleteById(Class<?> type, Object id) deleteByIds(Class<?> type, Iterable<?> ids) deleteByIds(Class<?> type, Iterable<?> ids, DeleteMode mode) filters(Consumer<FilterConfig> block) <T> T<E> E<T> @NotNull List<T> <E> @NotNull List<E> <K,V> @NotNull Map <K, V> findMapByIds(Class<V> type, Iterable<K> ids) <K,V> @NotNull Map <K, V> findMapByIds(Fetcher<V> fetcher, Iterable<K> ids) getAssociations(org.babyfish.jimmer.meta.ImmutableProp immutableProp) getAssociations(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop) getAssociations(AssociationType associationType) intint@Nullable org.babyfish.jimmer.sql.DraftInterceptor<?, ?> getDraftInterceptor(org.babyfish.jimmer.meta.ImmutableType type) org.babyfish.jimmer.sql.DraftPreProcessor<?> getDraftPreProcessor(org.babyfish.jimmer.meta.ImmutableType type) @Nullable ExceptionTranslator<Exception> org.babyfish.jimmer.sql.meta.IdGeneratorgetIdGenerator(Class<?> entityType) org.babyfish.jimmer.sql.meta.LogicalDeletedValueGenerator<?> getLogicalDeletedValueGenerator(Class<?> logicalDeletedValueGeneratorType) org.babyfish.jimmer.sql.meta.LogicalDeletedValueGenerator<?> intintorg.babyfish.jimmer.sql.meta.MetadataStrategyintReader<?> Reader<?> getReader(org.babyfish.jimmer.meta.ImmutableProp prop) Reader<?> getReader(org.babyfish.jimmer.meta.ImmutableType type) TransientResolver<?, ?> getResolver(org.babyfish.jimmer.meta.ImmutableProp prop) <T,S> ScalarProvider <T, S> getScalarProvider(Class<T> scalarType) <T,S> ScalarProvider <T, S> getScalarProvider(org.babyfish.jimmer.meta.ImmutableProp prop) <T,S> ScalarProvider <T, S> getScalarProvider(org.babyfish.jimmer.meta.TypedProp<T, ?> prop) getSlaveConnectionManager(boolean forUpdate) 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.org.babyfish.jimmer.sql.meta.UserIdGenerator<?> getUserIdGenerator(Class<?> userIdGeneratorType) org.babyfish.jimmer.sql.meta.UserIdGenerator<?> getUserIdGenerator(String ref) StrategyProvider<org.babyfish.jimmer.sql.meta.UserIdGenerator<?>> <E> SimpleSaveResult<E> insert(E entity) <E> SimpleSaveResult<E> insert(E entity, @NotNull AssociatedSaveMode associatedSaveMode) <E> SimpleSaveResult<E> insert(@NotNull org.babyfish.jimmer.Input<E> input) <E> SimpleSaveResult<E> insert(@NotNull org.babyfish.jimmer.Input<E> input, @NotNull AssociatedSaveMode associatedSaveMode) <E> BatchSaveResult<E> insertEntities(@NotNull Iterable<E> entities) <E> BatchSaveResult<E> insertEntities(@NotNull Iterable<E> entities, @NotNull AssociatedSaveMode associatedMode) <E> BatchSaveResult<E> insertEntitiesIfAbsent(@NotNull Iterable<E> entities) <E> BatchSaveResult<E> insertEntitiesIfAbsent(@NotNull Iterable<E> entities, @NotNull AssociatedSaveMode associatedMode) <E> SimpleSaveResult<E> insertIfAbsent(E entity) <E> SimpleSaveResult<E> insertIfAbsent(E entity, @NotNull AssociatedSaveMode associatedSaveMode) <E> SimpleSaveResult<E> insertIfAbsent(@NotNull org.babyfish.jimmer.Input<E> input) <E> SimpleSaveResult<E> insertIfAbsent(@NotNull org.babyfish.jimmer.Input<E> input, @NotNull AssociatedSaveMode associatedSaveMode) <E> BatchSaveResult<E> insertInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) <E> BatchSaveResult<E> insertInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull AssociatedSaveMode associatedMode) <E> BatchSaveResult<E> insertInputsIfAbsent(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) <E> BatchSaveResult<E> insertInputsIfAbsent(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull AssociatedSaveMode associatedMode) booleanisBatchForbidden(boolean dumbBatchAcceptable) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisUpsertWithUniqueConstraintSupported(org.babyfish.jimmer.meta.ImmutableType type) <E> SimpleSaveResult<E> merge(E entity) <E> SimpleSaveResult<E> merge(@NotNull org.babyfish.jimmer.Input<E> input) <E> BatchSaveResult<E> mergeEntities(@NotNull Iterable<E> entities) <E> BatchSaveResult<E> mergeInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) <E> SimpleSaveResult<E> save(E entity) <E> SimpleSaveResult<E> save(E entity, AssociatedSaveMode associatedMode) <E> SimpleSaveResult<E> <E> SimpleSaveResult<E> save(E entity, SaveMode mode, @NotNull AssociatedSaveMode associatedMode) <E> SimpleSaveResult<E> save(@NotNull org.babyfish.jimmer.Input<E> input) <E> SimpleSaveResult<E> save(@NotNull org.babyfish.jimmer.Input<E> input, @NotNull AssociatedSaveMode associatedMode) <E> SimpleSaveResult<E> <E> SimpleSaveResult<E> save(@NotNull org.babyfish.jimmer.Input<E> input, @NotNull SaveMode mode, @NotNull AssociatedSaveMode associatedMode) <E> SimpleEntitySaveCommand<E> saveCommand(E entity) <E> SimpleEntitySaveCommand<E> saveCommand(org.babyfish.jimmer.Input<E> input) <E> BatchSaveResult<E> saveEntities(@NotNull Iterable<E> entities) <E> BatchSaveResult<E> saveEntities(@NotNull Iterable<E> entities, @NotNull AssociatedSaveMode associatedMode) <E> BatchSaveResult<E> saveEntities(@NotNull Iterable<E> entities, @NotNull SaveMode mode) <E> BatchSaveResult<E> saveEntities(@NotNull Iterable<E> entities, @NotNull SaveMode mode, @NotNull AssociatedSaveMode associatedMode) <E> BatchEntitySaveCommand<E> saveEntitiesCommand(Iterable<E> entities) <E> BatchSaveResult<E> saveInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) <E> BatchSaveResult<E> saveInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull SaveMode mode) <E> BatchSaveResult<E> saveInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull SaveMode mode, @NotNull AssociatedSaveMode associatedMode) <E> BatchSaveResult<E> saveInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, AssociatedSaveMode associatedMode) <E> BatchEntitySaveCommand<E> saveInputsCommand(Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) protected abstract JSqlClientImplementor<R> Rtransaction(Propagation propagation, Supplier<R> block) Execute a transaction by the specifiedPropagationbehavior If an IOC framework is used, its implementation should be an encapsulation of the transaction management within the IOC framework.<T extends org.babyfish.jimmer.sql.meta.SqlContext>
Tunwrap()<E> SimpleSaveResult<E> update(E entity) <E> SimpleSaveResult<E> update(E entity, @NotNull AssociatedSaveMode associatedSaveMode) <E> SimpleSaveResult<E> update(@NotNull org.babyfish.jimmer.Input<E> input) <E> SimpleSaveResult<E> update(@NotNull org.babyfish.jimmer.Input<E> input, @NotNull AssociatedSaveMode associatedSaveMode) <E> BatchSaveResult<E> updateEntities(@NotNull Iterable<E> entities) <E> BatchSaveResult<E> updateEntities(@NotNull Iterable<E> entities, @NotNull AssociatedSaveMode associatedMode) <E> BatchSaveResult<E> updateInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) <E> BatchSaveResult<E> updateInputs(@NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull AssociatedSaveMode associatedMode) @Nullable DatabaseValidationExceptionValidate the database manually.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.babyfish.jimmer.sql.ast.mutation.DeprecatedMoreSaveOperations
save, save, save, save, save, save, save, save, saveEntities, saveEntities, saveEntities, saveEntities, saveInputs, saveInputs, saveInputs, saveInputs从接口继承的方法 org.babyfish.jimmer.sql.ast.mutation.DeprecatedSaveOperations
save, save, save, save, save, save, save, save, saveEntities, saveEntities, saveEntities, saveEntities, saveInputs, saveInputs, saveInputs, saveInputs从接口继承的方法 org.babyfish.jimmer.sql.JSqlClient
findOneById, findOneById, transaction
-
构造器详细资料
-
AbstractJSqlClientDelegate
public AbstractJSqlClientDelegate()
-
-
方法详细资料
-
sqlClient
-
unwrap
public <T extends org.babyfish.jimmer.sql.meta.SqlContext> T unwrap()- 指定者:
unwrap在接口中org.babyfish.jimmer.sql.meta.SqlContext
-
getUserIdGenerator
public org.babyfish.jimmer.sql.meta.UserIdGenerator<?> getUserIdGenerator(String ref) throws Exception - 指定者:
getUserIdGenerator在接口中org.babyfish.jimmer.sql.meta.SqlContext- 抛出:
Exception
-
getUserIdGenerator
public org.babyfish.jimmer.sql.meta.UserIdGenerator<?> getUserIdGenerator(Class<?> userIdGeneratorType) throws Exception - 指定者:
getUserIdGenerator在接口中org.babyfish.jimmer.sql.meta.SqlContext- 抛出:
Exception
-
getLogicalDeletedValueGenerator
public org.babyfish.jimmer.sql.meta.LogicalDeletedValueGenerator<?> getLogicalDeletedValueGenerator(String ref) throws Exception - 指定者:
getLogicalDeletedValueGenerator在接口中org.babyfish.jimmer.sql.meta.SqlContext- 抛出:
Exception
-
getLogicalDeletedValueGenerator
public org.babyfish.jimmer.sql.meta.LogicalDeletedValueGenerator<?> getLogicalDeletedValueGenerator(Class<?> logicalDeletedValueGeneratorType) throws Exception - 指定者:
getLogicalDeletedValueGenerator在接口中org.babyfish.jimmer.sql.meta.SqlContext- 抛出:
Exception
-
createQuery
- 指定者:
createQuery在接口中JSqlClient
-
createUpdate
- 指定者:
createUpdate在接口中JSqlClient
-
createDelete
- 指定者:
createDelete在接口中JSqlClient
-
createAssociationQuery
public <SE,ST extends Table<SE>, MutableRootQuery<AssociationTable<SE,TE, TT extends Table<TE>> ST, createAssociationQueryTE, TT>> (AssociationTable<SE, ST, TE, TT> table) - 指定者:
createAssociationQuery在接口中JSqlClient
-
getEntities
- 指定者:
getEntities在接口中JSqlClient
-
getTriggers
从接口复制的说明:JSqlClientThis method is equivalent to `getTriggers(false)`- 指定者:
getTriggers在接口中JSqlClient- 返回:
-
getTriggers
从接口复制的说明:JSqlClient-
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
- 指定者:
getTriggers在接口中JSqlClient- 参数:
transaction-- 返回:
- Trigger
-
If trigger type is 'BINLOG_ONLY'
-
getAssociations
- 指定者:
getAssociations在接口中JSqlClient
-
getAssociations
- 指定者:
getAssociations在接口中JSqlClient
-
getAssociations
- 指定者:
getAssociations在接口中JSqlClient
-
getCaches
- 指定者:
getCaches在接口中JSqlClient
-
getFilters
- 指定者:
getFilters在接口中JSqlClient
-
getBinLog
- 指定者:
getBinLog在接口中JSqlClient
-
findById
- 指定者:
findById在接口中JSqlClient- 类型参数:
T- Entity type or output DTO type
-
findById
- 指定者:
findById在接口中JSqlClient
-
findByIds
- 指定者:
findByIds在接口中JSqlClient- 类型参数:
T- Entity type or output DTO type
-
findByIds
- 指定者:
findByIds在接口中JSqlClient
-
findMapByIds
- 指定者:
findMapByIds在接口中JSqlClient- 类型参数:
V- Entity type or output DTO type
-
findMapByIds
- 指定者:
findMapByIds在接口中JSqlClient
-
saveCommand
- 指定者:
saveCommand在接口中JSqlClient- 指定者:
saveCommand在接口中SaveCommandCreator
-
saveCommand
- 指定者:
saveCommand在接口中SaveCommandCreator
-
saveEntitiesCommand
- 指定者:
saveEntitiesCommand在接口中JSqlClient- 指定者:
saveEntitiesCommand在接口中SaveCommandCreator
-
saveInputsCommand
public <E> BatchEntitySaveCommand<E> saveInputsCommand(Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) - 指定者:
saveInputsCommand在接口中SaveCommandCreator
-
save
public <E> SimpleSaveResult<E> save(E entity, SaveMode mode, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
save在接口中DeprecatedMoreSaveOperations- 指定者:
save在接口中SaveOperations
-
save
- 指定者:
save在接口中DeprecatedSaveOperations
-
save
- 指定者:
save在接口中DeprecatedSaveOperations
-
save
- 指定者:
save在接口中DeprecatedMoreSaveOperations- 指定者:
save在接口中SaveOperations
-
save
public <E> SimpleSaveResult<E> save(@NotNull @NotNull org.babyfish.jimmer.Input<E> input, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
save在接口中DeprecatedSaveOperations
-
save
public <E> SimpleSaveResult<E> save(@NotNull @NotNull org.babyfish.jimmer.Input<E> input, @NotNull @NotNull SaveMode mode, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
save在接口中DeprecatedMoreSaveOperations- 指定者:
save在接口中SaveOperations
-
save
- 指定者:
save在接口中DeprecatedMoreSaveOperations- 指定者:
save在接口中SaveOperations
-
save
public <E> SimpleSaveResult<E> save(@NotNull @NotNull org.babyfish.jimmer.Input<E> input, @NotNull @NotNull SaveMode mode) - 指定者:
save在接口中DeprecatedSaveOperations
-
insert
- 指定者:
insert在接口中DeprecatedSaveOperations
-
insert
public <E> SimpleSaveResult<E> insert(@NotNull E entity, @NotNull @NotNull AssociatedSaveMode associatedSaveMode) - 指定者:
insert在接口中DeprecatedSaveOperations
-
insert
- 指定者:
insert在接口中DeprecatedSaveOperations
-
insert
public <E> SimpleSaveResult<E> insert(@NotNull @NotNull org.babyfish.jimmer.Input<E> input, @NotNull @NotNull AssociatedSaveMode associatedSaveMode) - 指定者:
insert在接口中DeprecatedSaveOperations
-
insertIfAbsent
- 指定者:
insertIfAbsent在接口中DeprecatedSaveOperations
-
insertIfAbsent
public <E> SimpleSaveResult<E> insertIfAbsent(@NotNull E entity, @NotNull @NotNull AssociatedSaveMode associatedSaveMode) - 指定者:
insertIfAbsent在接口中DeprecatedSaveOperations
-
insertIfAbsent
- 指定者:
insertIfAbsent在接口中DeprecatedSaveOperations
-
insertIfAbsent
public <E> SimpleSaveResult<E> insertIfAbsent(@NotNull @NotNull org.babyfish.jimmer.Input<E> input, @NotNull @NotNull AssociatedSaveMode associatedSaveMode) - 指定者:
insertIfAbsent在接口中DeprecatedSaveOperations
-
update
- 指定者:
update在接口中DeprecatedSaveOperations
-
update
public <E> SimpleSaveResult<E> update(@NotNull E entity, @NotNull @NotNull AssociatedSaveMode associatedSaveMode) - 指定者:
update在接口中DeprecatedSaveOperations
-
update
- 指定者:
update在接口中DeprecatedSaveOperations
-
update
public <E> SimpleSaveResult<E> update(@NotNull @NotNull org.babyfish.jimmer.Input<E> input, @NotNull @NotNull AssociatedSaveMode associatedSaveMode) - 指定者:
update在接口中DeprecatedSaveOperations
-
merge
- 指定者:
merge在接口中DeprecatedSaveOperations
-
merge
- 指定者:
merge在接口中DeprecatedSaveOperations
-
saveEntities
public <E> BatchSaveResult<E> saveEntities(@NotNull @NotNull Iterable<E> entities, @NotNull @NotNull SaveMode mode, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
saveEntities在接口中DeprecatedMoreSaveOperations- 指定者:
saveEntities在接口中SaveOperations
-
saveEntities
public <E> BatchSaveResult<E> saveEntities(@NotNull @NotNull Iterable<E> entities, @NotNull @NotNull SaveMode mode) - 指定者:
saveEntities在接口中DeprecatedSaveOperations
-
saveEntities
public <E> BatchSaveResult<E> saveEntities(@NotNull @NotNull Iterable<E> entities, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
saveEntities在接口中DeprecatedSaveOperations
-
saveEntities
- 指定者:
saveEntities在接口中DeprecatedMoreSaveOperations- 指定者:
saveEntities在接口中SaveOperations
-
saveInputs
public <E> BatchSaveResult<E> saveInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull @NotNull SaveMode mode, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
saveInputs在接口中DeprecatedMoreSaveOperations- 指定者:
saveInputs在接口中SaveOperations
-
saveInputs
public <E> BatchSaveResult<E> saveInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull @NotNull SaveMode mode) - 指定者:
saveInputs在接口中DeprecatedSaveOperations
-
saveInputs
public <E> BatchSaveResult<E> saveInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, AssociatedSaveMode associatedMode) - 指定者:
saveInputs在接口中DeprecatedSaveOperations
-
saveInputs
public <E> BatchSaveResult<E> saveInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) - 指定者:
saveInputs在接口中DeprecatedMoreSaveOperations- 指定者:
saveInputs在接口中SaveOperations
-
insertEntities
public <E> BatchSaveResult<E> insertEntities(@NotNull @NotNull Iterable<E> entities, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
insertEntities在接口中DeprecatedSaveOperations
-
insertEntities
- 指定者:
insertEntities在接口中DeprecatedSaveOperations
-
insertInputs
public <E> BatchSaveResult<E> insertInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
insertInputs在接口中DeprecatedSaveOperations
-
insertInputs
public <E> BatchSaveResult<E> insertInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) - 指定者:
insertInputs在接口中DeprecatedSaveOperations
-
insertEntitiesIfAbsent
public <E> BatchSaveResult<E> insertEntitiesIfAbsent(@NotNull @NotNull Iterable<E> entities, @NotNull @NotNull AssociatedSaveMode associatedMode) -
insertEntitiesIfAbsent
-
insertInputsIfAbsent
public <E> BatchSaveResult<E> insertInputsIfAbsent(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
insertInputsIfAbsent在接口中DeprecatedSaveOperations
-
insertInputsIfAbsent
public <E> BatchSaveResult<E> insertInputsIfAbsent(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) - 指定者:
insertInputsIfAbsent在接口中DeprecatedSaveOperations
-
updateEntities
public <E> BatchSaveResult<E> updateEntities(@NotNull @NotNull Iterable<E> entities, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
updateEntities在接口中DeprecatedSaveOperations
-
updateEntities
- 指定者:
updateEntities在接口中DeprecatedSaveOperations
-
updateInputs
public <E> BatchSaveResult<E> updateInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs, @NotNull @NotNull AssociatedSaveMode associatedMode) - 指定者:
updateInputs在接口中DeprecatedSaveOperations
-
updateInputs
public <E> BatchSaveResult<E> updateInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) - 指定者:
updateInputs在接口中DeprecatedSaveOperations
-
mergeEntities
- 指定者:
mergeEntities在接口中DeprecatedSaveOperations
-
mergeInputs
public <E> BatchSaveResult<E> mergeInputs(@NotNull @NotNull Iterable<? extends org.babyfish.jimmer.Input<E>> inputs) - 指定者:
mergeInputs在接口中DeprecatedSaveOperations
-
deleteById
public DeleteResult deleteById(@NotNull @NotNull Class<?> type, @NotNull @NotNull Object id, @NotNull @NotNull DeleteMode mode) - 指定者:
deleteById在接口中JSqlClient
-
deleteById
- 指定者:
deleteById在接口中JSqlClient
-
deleteByIds
- 指定者:
deleteByIds在接口中JSqlClient
-
deleteByIds
- 指定者:
deleteByIds在接口中JSqlClient
-
transaction
从接口复制的说明:JSqlClientExecute a transaction by the specifiedPropagationbehavior- If an IOC framework is used, its implementation
should be an encapsulation of the transaction management
within the IOC framework. Taking
jimmer-spring-starteras an example, it is theSpringConnectionManagerwhich will be created and enabled automatically. - If no IOC framework is used, the class
AbstractTxConnectionManageris the lightweight implementation provided by jimmer, please specify the connection manager of sqlClient byConnectionManager.simpleConnectionManager(DataSource)
- 指定者:
transaction在接口中JSqlClient- 参数:
propagation- The propagation behaviorblock- The action to be executed in transaction- 返回:
- The result of transaction
- If an IOC framework is used, its implementation
should be an encapsulation of the transaction management
within the IOC framework. Taking
-
validateDatabase
从接口复制的说明:JSqlClientValidate the database manually.User can either automatically validate the database or manually validate it.
- Automatically: Specify the
databaseValidationModeasDatabaseValidationMode.ERRORorDatabaseValidationMode.ERRORwhen building theJSqlClientobject, so there is NO need to call this method - Manually: Specify the
databaseValidationModeasDatabaseValidationMode.NONEand call this method after obtaining theJSqlClientobject
Note: If there are any database validation errors, the relevant exceptions will be returned as the result of this method instead of being thrown directly.
- 指定者:
validateDatabase在接口中JSqlClient- 返回:
- The validation error or null
- Automatically: Specify the
-
createSubQuery
- 指定者:
createSubQuery在接口中SubQueryProvider
-
createAssociationSubQuery
public <SE,ST extends TableEx<SE>, MutableSubQuery createAssociationSubQueryTE, TT extends TableEx<TE>> (AssociationTable<SE, ST, TE, TT> table) - 指定者:
createAssociationSubQuery在接口中SubQueryProvider
-
getConnectionManager
- 指定者:
getConnectionManager在接口中JSqlClientImplementor
-
getSlaveConnectionManager
-
getDialect
- 指定者:
getDialect在接口中JSqlClientImplementor
-
getExecutor
- 指定者:
getExecutor在接口中JSqlClientImplementor
-
getEntityManager
- 指定者:
getEntityManager在接口中JSqlClientImplementor
-
getMetadataStrategy
public org.babyfish.jimmer.sql.meta.MetadataStrategy getMetadataStrategy()- 指定者:
getMetadataStrategy在接口中JSqlClientImplementor- 指定者:
getMetadataStrategy在接口中org.babyfish.jimmer.sql.meta.SqlContext
-
getExecutorContextPrefixes
-
getSqlFormatter
- 指定者:
getSqlFormatter在接口中JSqlClientImplementor
-
getCacheOperator
- 指定者:
getCacheOperator在接口中JSqlClientImplementor
-
getTriggerType
- 指定者:
getTriggerType在接口中JSqlClientImplementor
-
getScalarProvider
- 指定者:
getScalarProvider在接口中JSqlClientImplementor
-
getScalarProvider
- 指定者:
getScalarProvider在接口中JSqlClientImplementor
-
getScalarProvider
- 指定者:
getScalarProvider在接口中JSqlClientImplementor
-
getDefaultReferenceFetchType
-
getMaxJoinFetchDepth
public int getMaxJoinFetchDepth()- 指定者:
getMaxJoinFetchDepth在接口中JSqlClientImplementor
-
getZoneId
- 指定者:
getZoneId在接口中JSqlClientImplementor
-
getIdGenerator
- 指定者:
getIdGenerator在接口中JSqlClientImplementor
-
getDefaultBatchSize
public int getDefaultBatchSize()- 指定者:
getDefaultBatchSize在接口中JSqlClientImplementor
-
getDefaultListBatchSize
public int getDefaultListBatchSize()- 指定者:
getDefaultListBatchSize在接口中JSqlClientImplementor
-
isInListPaddingEnabled
public boolean isInListPaddingEnabled()- 指定者:
isInListPaddingEnabled在接口中JSqlClientImplementor
-
isExpandedInListPaddingEnabled
public boolean isExpandedInListPaddingEnabled() -
getOffsetOptimizingThreshold
public int getOffsetOptimizingThreshold() -
isReverseSortOptimizationEnabled
public boolean isReverseSortOptimizationEnabled() -
getMaxCommandJoinCount
public int getMaxCommandJoinCount()- 指定者:
getMaxCommandJoinCount在接口中JSqlClientImplementor
-
isTargetTransferable
public boolean isTargetTransferable()- 指定者:
isTargetTransferable在接口中JSqlClientImplementor
-
isBatchForbidden
public boolean isBatchForbidden(boolean dumbBatchAcceptable) - 指定者:
isBatchForbidden在接口中JSqlClientImplementor
-
isUpsertWithUniqueConstraintSupported
public boolean isUpsertWithUniqueConstraintSupported(org.babyfish.jimmer.meta.ImmutableType type) -
isConstraintViolationTranslatable
public boolean isConstraintViolationTranslatable() -
isMutationTransactionRequired
public boolean isMutationTransactionRequired() -
getExceptionTranslator
- 指定者:
getExceptionTranslator在接口中JSqlClientImplementor
-
getResolver
- 指定者:
getResolver在接口中JSqlClientImplementor
-
getUserIdGeneratorProvider
public StrategyProvider<org.babyfish.jimmer.sql.meta.UserIdGenerator<?>> getUserIdGeneratorProvider() -
getTransientResolverProvider
-
isDefaultDissociationActionCheckable
public boolean isDefaultDissociationActionCheckable() -
getIdOnlyTargetCheckingLevel
-
getDraftPreProcessor
public org.babyfish.jimmer.sql.DraftPreProcessor<?> getDraftPreProcessor(org.babyfish.jimmer.meta.ImmutableType type) - 指定者:
getDraftPreProcessor在接口中JSqlClientImplementor
-
getDraftInterceptor
@Nullable public @Nullable org.babyfish.jimmer.sql.DraftInterceptor<?,?> getDraftInterceptor(org.babyfish.jimmer.meta.ImmutableType type) - 指定者:
getDraftInterceptor在接口中JSqlClientImplementor
-
getReader
- 指定者:
getReader在接口中JSqlClientImplementor
-
getReader
- 指定者:
getReader在接口中JSqlClientImplementor
-
getReader
- 指定者:
getReader在接口中JSqlClientImplementor
-
getMicroServiceName
- 指定者:
getMicroServiceName在接口中JSqlClientImplementor
-
getMicroServiceExchange
- 指定者:
getMicroServiceExchange在接口中JSqlClientImplementor
-
caches
- 指定者:
caches在接口中JSqlClient- 指定者:
caches在接口中JSqlClientImplementor
-
filters
- 指定者:
filters在接口中JSqlClient- 指定者:
filters在接口中JSqlClientImplementor
-
disableSlaveConnectionManager
- 指定者:
disableSlaveConnectionManager在接口中JSqlClient- 指定者:
disableSlaveConnectionManager在接口中JSqlClientImplementor
-
executor
- 指定者:
executor在接口中JSqlClient- 指定者:
executor在接口中JSqlClientImplementor
-
getLoaders
- 指定者:
getLoaders在接口中JSqlClientImplementor
-