类 AbstractJSqlClientDelegate
- 所有已实现的接口:
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(Class<?> type, Object id) deleteById(Class<?> type, Object id, DeleteMode mode) deleteByIds(Class<?> type, Collection<?> ids) deleteByIds(Class<?> type, Collection<?> ids, DeleteMode mode) filters(Consumer<FilterConfig> block) <E> E<E> E<E> List<E>findByIds(Class<E> type, Collection<?> ids) <E> List<E>findByIds(Fetcher<E> fetcher, Collection<?> ids) <K,V> @Nullable Map<K, V> findMapByIds(Class<V> type, Collection<K> ids) <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) 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) org.babyfish.jimmer.sql.meta.IdGeneratorgetIdGenerator(Class<?> entityType) org.babyfish.jimmer.sql.meta.LogicalDeletedValueGenerator<?>getLogicalDeletedValueGenerator(Class<?> logicalDeletedValueGeneratorType) org.babyfish.jimmer.sql.meta.LogicalDeletedValueGenerator<?>org.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<?>>void<E> SimpleSaveResult<E>insert(E entity) <E> SimpleSaveResult<E>insert(org.babyfish.jimmer.Input<E> input) booleanbooleanbooleanboolean<E> SimpleSaveResult<E>merge(E entity) Note: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!<E> SimpleSaveResult<E>Note: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!<E> SimpleSaveResult<E>merge(org.babyfish.jimmer.Input<E> input) Note: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!<E> SimpleSaveResult<E>Note: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!<E> SimpleSaveResult<E>save(E entity) <E> SimpleSaveResult<E><E> SimpleSaveResult<E>save(org.babyfish.jimmer.Input<E> input) <E> SimpleSaveResult<E>protected abstract JSqlClientImplementor<T extends org.babyfish.jimmer.sql.meta.SqlContext>
Tunwrap()<E> SimpleSaveResult<E>update(E entity) <E> SimpleSaveResult<E>update(org.babyfish.jimmer.Input<E> input) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.babyfish.jimmer.sql.JSqlClient
append, append, append, append
-
构造器详细资料
-
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
-
findById
- 指定者:
findById在接口中JSqlClient
-
findByIds
- 指定者:
findByIds在接口中JSqlClient
-
findByIds
- 指定者:
findByIds在接口中JSqlClient
-
findMapByIds
- 指定者:
findMapByIds在接口中JSqlClient
-
findMapByIds
- 指定者:
findMapByIds在接口中JSqlClient
-
save
- 指定者:
save在接口中JSqlClient
-
save
- 指定者:
save在接口中JSqlClient
-
insert
- 指定者:
insert在接口中JSqlClient
-
update
- 指定者:
update在接口中JSqlClient
-
save
- 指定者:
save在接口中JSqlClient
-
save
- 指定者:
save在接口中JSqlClient
-
insert
- 指定者:
insert在接口中JSqlClient
-
update
- 指定者:
update在接口中JSqlClient
-
merge
从接口复制的说明:JSqlClientNote: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!
For associated objects, only insert or update operations are executed. The parent object never dissociates the child objects.
- 指定者:
merge在接口中JSqlClient
-
merge
从接口复制的说明:JSqlClientNote: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!
For associated objects, only insert or update operations are executed. The parent object never dissociates the child objects.
- 指定者:
merge在接口中JSqlClient
-
merge
从接口复制的说明:JSqlClientNote: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!
For associated objects, only insert or update operations are executed. The parent object never dissociates the child objects.
- 指定者:
merge在接口中JSqlClient
-
merge
从接口复制的说明:JSqlClientNote: The 'merge' of 'Jimmer' and the 'merge' of 'JPA' are completely different concepts!
For associated objects, only insert or update operations are executed. The parent object never dissociates the child objects.
- 指定者:
merge在接口中JSqlClient
-
deleteById
- 指定者:
deleteById在接口中JSqlClient
-
deleteById
- 指定者:
deleteById在接口中JSqlClient
-
deleteByIds
- 指定者:
deleteByIds在接口中JSqlClient
-
deleteByIds
- 指定者:
deleteByIds在接口中JSqlClient
-
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
-
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() -
isInListToAnyEqualityEnabled
public boolean isInListToAnyEqualityEnabled() -
getOffsetOptimizingThreshold
public int getOffsetOptimizingThreshold() -
getDefaultLockMode
- 指定者:
getDefaultLockMode在接口中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
-
initialize
public void initialize()- 指定者:
initialize在接口中JSqlClientImplementor
-