Interface DatabaseShardingAssistant<M>
-
- All Superinterfaces:
ShardingAssistant
- All Known Implementing Classes:
CompositeShardedMongoTemplate
,CompositeShardedReactiveMongoTemplate
,DatabaseShardedExecutableFindSupport
,DatabaseShardedExecutableInsertSupport
,DatabaseShardedExecutableRemoveSupport
,DatabaseShardedExecutableUpdateSupport
,DatabaseShardedMongoTemplate
,DatabaseShardedReactiveMongoTemplate
public interface DatabaseShardingAssistant<M> extends ShardingAssistant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Map<String,M>
getDelegatedShardedMongoTemplateMap()
default <T> M
getDelegatedTemplateForDeleteContext(Class<T> entityClass, org.bson.Document query)
default <T> M
getDelegatedTemplateForDeleteContext(Class<T> entityClass, org.springframework.data.mongodb.core.query.Query query)
default <T> M
getDelegatedTemplateForDeleteContext(T entity)
default <T> M
getDelegatedTemplateForFindContext(Class<T> entityClass, org.bson.Document query)
default <T> M
getDelegatedTemplateForFindContext(Class<T> entityClass, org.springframework.data.mongodb.core.query.Query query)
default <T> M
getDelegatedTemplateForSaveContext(T entity)
default <T> M
getDelegatedTemplateForUpdateContext(Class<T> entityClass, org.bson.Document query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition)
default <T> M
getDelegatedTemplateForUpdateContext(Class<T> entityClass, org.springframework.data.mongodb.core.query.Query query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition)
default <T> M
getDelegatedTemplateWithEntityContext(T entity)
default M
getDelegatedTemplateWithoutEntityContext()
default <T> String
resolveDatabaseHintWithEntityContext(T entity)
-
Methods inherited from interface com.alpha.mongodb.sharding.core.assitant.ShardingAssistant
getHintResolutionCallbacks, getShardingOptions, resolveCollectionHintWithoutEntityContext, resolveCollectionNameWithoutEntityContext, resolveDatabaseHintWithoutEntityContext, resolveDatabaseNameWithoutEntityContext
-
-
-
-
Method Detail
-
getDelegatedTemplateForFindContext
default <T> M getDelegatedTemplateForFindContext(Class<T> entityClass, org.springframework.data.mongodb.core.query.Query query)
-
getDelegatedTemplateForFindContext
default <T> M getDelegatedTemplateForFindContext(Class<T> entityClass, org.bson.Document query)
-
getDelegatedTemplateForDeleteContext
default <T> M getDelegatedTemplateForDeleteContext(Class<T> entityClass, org.springframework.data.mongodb.core.query.Query query)
-
getDelegatedTemplateForDeleteContext
default <T> M getDelegatedTemplateForDeleteContext(Class<T> entityClass, org.bson.Document query)
-
getDelegatedTemplateForDeleteContext
default <T> M getDelegatedTemplateForDeleteContext(T entity)
-
getDelegatedTemplateForUpdateContext
default <T> M getDelegatedTemplateForUpdateContext(Class<T> entityClass, org.springframework.data.mongodb.core.query.Query query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition)
-
getDelegatedTemplateForUpdateContext
default <T> M getDelegatedTemplateForUpdateContext(Class<T> entityClass, org.bson.Document query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition)
-
getDelegatedTemplateForSaveContext
default <T> M getDelegatedTemplateForSaveContext(T entity)
-
getDelegatedTemplateWithoutEntityContext
default M getDelegatedTemplateWithoutEntityContext()
-
getDelegatedTemplateWithEntityContext
default <T> M getDelegatedTemplateWithEntityContext(T entity)
-
resolveDatabaseHintWithEntityContext
default <T> String resolveDatabaseHintWithEntityContext(T entity)
-
-