Interface HintResolutionCallback<T>
-
- All Superinterfaces:
IHintResolutionCallback
- All Known Subinterfaces:
CollectionShardedEntityHintResolutionCallback<T>
,CompositeShardedEntityHintResolutionCallback<T>
,DatabaseShardedEntityHintResolutionCallback<T>
public interface HintResolutionCallback<T> extends IHintResolutionCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ShardingHint
resolveHintForDeleteContext(org.bson.Document query, Class<T> entityClass)
default ShardingHint
resolveHintForDeleteContext(org.springframework.data.mongodb.core.query.Query query, Class<T> entityClass)
default ShardingHint
resolveHintForDeleteContext(T entity)
ShardingHint
resolveHintForFindContext(org.bson.Document query, Class<T> entityClass)
default ShardingHint
resolveHintForFindContext(org.springframework.data.mongodb.core.query.Query query, Class<T> entityClass)
ShardingHint
resolveHintForSaveContext(T entity)
default ShardingHint
resolveHintForUpdateContext(org.bson.Document query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition, Class<T> entityClass)
default ShardingHint
resolveHintForUpdateContext(org.springframework.data.mongodb.core.query.Query query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition, Class<T> entityClass)
-
-
-
Method Detail
-
resolveHintForFindContext
ShardingHint resolveHintForFindContext(org.bson.Document query, Class<T> entityClass)
-
resolveHintForSaveContext
ShardingHint resolveHintForSaveContext(T entity)
-
resolveHintForFindContext
default ShardingHint resolveHintForFindContext(org.springframework.data.mongodb.core.query.Query query, Class<T> entityClass)
-
resolveHintForUpdateContext
default ShardingHint resolveHintForUpdateContext(org.springframework.data.mongodb.core.query.Query query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition, Class<T> entityClass)
-
resolveHintForUpdateContext
default ShardingHint resolveHintForUpdateContext(org.bson.Document query, org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition, Class<T> entityClass)
-
resolveHintForDeleteContext
default ShardingHint resolveHintForDeleteContext(org.springframework.data.mongodb.core.query.Query query, @Nullable Class<T> entityClass)
-
resolveHintForDeleteContext
default ShardingHint resolveHintForDeleteContext(org.bson.Document query, @Nullable Class<T> entityClass)
-
resolveHintForDeleteContext
default ShardingHint resolveHintForDeleteContext(T entity)
-
-