org.babyfish.jimmer.sql.runtime.JSqlClientImplementor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-sql Show documentation
Show all versions of jimmer-sql Show documentation
A revolutionary ORM framework for both java and kotlin
The newest version!
package org.babyfish.jimmer.sql.runtime;
import org.babyfish.jimmer.meta.ImmutableProp;
import org.babyfish.jimmer.meta.ImmutableType;
import org.babyfish.jimmer.meta.TypedProp;
import org.babyfish.jimmer.sql.DraftInterceptor;
import org.babyfish.jimmer.sql.DraftPreProcessor;
import org.babyfish.jimmer.sql.JSqlClient;
import org.babyfish.jimmer.sql.TransientResolver;
import org.babyfish.jimmer.sql.ast.mutation.LockMode;
import org.babyfish.jimmer.sql.cache.CacheDisableConfig;
import org.babyfish.jimmer.sql.cache.CacheOperator;
import org.babyfish.jimmer.sql.di.StrategyProvider;
import org.babyfish.jimmer.sql.dialect.Dialect;
import org.babyfish.jimmer.sql.event.TriggerType;
import org.babyfish.jimmer.sql.filter.FilterConfig;
import org.babyfish.jimmer.sql.loader.graphql.Loaders;
import org.babyfish.jimmer.sql.meta.IdGenerator;
import org.babyfish.jimmer.sql.meta.MetadataStrategy;
import org.babyfish.jimmer.sql.meta.SqlContext;
import org.babyfish.jimmer.sql.meta.UserIdGenerator;
import org.jetbrains.annotations.Nullable;
import java.time.ZoneId;
import java.util.List;
import java.util.function.Consumer;
public interface JSqlClientImplementor extends JSqlClient, SqlContext {
ConnectionManager getConnectionManager();
ConnectionManager getSlaveConnectionManager(boolean forUpdate);
Dialect getDialect();
Executor getExecutor();
EntityManager getEntityManager();
MetadataStrategy getMetadataStrategy();
List getExecutorContextPrefixes();
SqlFormatter getSqlFormatter();
CacheOperator getCacheOperator();
TriggerType getTriggerType();
ScalarProvider getScalarProvider(Class scalarType);
ScalarProvider getScalarProvider(TypedProp prop);
ScalarProvider getScalarProvider(ImmutableProp prop);
ZoneId getZoneId();
IdGenerator getIdGenerator(Class> entityType);
int getDefaultBatchSize();
int getDefaultListBatchSize();
boolean isInListPaddingEnabled();
boolean isExpandedInListPaddingEnabled();
int getOffsetOptimizingThreshold();
LockMode getDefaultLockMode();
int getMaxCommandJoinCount();
boolean isTargetTransferable();
boolean isUpsertWithUniqueConstraintSupported(ImmutableType type);
@Nullable
ExceptionTranslator getExceptionTranslator();
TransientResolver, ?> getResolver(ImmutableProp prop);
StrategyProvider> getUserIdGeneratorProvider();
StrategyProvider> getTransientResolverProvider();
boolean isDefaultDissociationActionCheckable();
IdOnlyTargetCheckingLevel getIdOnlyTargetCheckingLevel();
DraftPreProcessor> getDraftPreProcessor(ImmutableType type);
@Nullable
DraftInterceptor, ?> getDraftInterceptor(ImmutableType type);
Reader> getReader(Class> type);
Reader> getReader(ImmutableType type);
Reader> getReader(ImmutableProp prop);
String getMicroServiceName();
MicroServiceExchange getMicroServiceExchange();
@Override
JSqlClientImplementor caches(Consumer block);
@Override
JSqlClientImplementor filters(Consumer block);
@Override
JSqlClientImplementor disableSlaveConnectionManager();
@Override
JSqlClientImplementor executor(Executor executor);
Loaders getLoaders();
void initialize();
interface Builder extends JSqlClient.Builder {
ConnectionManager getConnectionManager();
Dialect getDialect();
}
}