Class HintResolutionCallbacks


  • public class HintResolutionCallbacks
    extends Object
    • Method Detail

      • discover

        public void discover​(org.springframework.beans.factory.BeanFactory beanFactory)
      • callbackForFindContext

        public <T> Optional<ShardingHint> callbackForFindContext​(Class<T> entityClass,
                                                                 org.springframework.data.mongodb.core.query.Query query)
      • callbackForFindContext

        public <T> Optional<ShardingHint> callbackForFindContext​(Class<T> entityClass,
                                                                 org.bson.Document query)
      • callbackForUpdateContext

        public <T> Optional<ShardingHint> callbackForUpdateContext​(Class<T> entityClass,
                                                                   org.springframework.data.mongodb.core.query.Query query,
                                                                   org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition)
      • callbackForUpdateContext

        public <T> Optional<ShardingHint> callbackForUpdateContext​(Class<T> entityClass,
                                                                   org.bson.Document query,
                                                                   org.springframework.data.mongodb.core.query.UpdateDefinition updateDefinition)
      • callbackForDeleteContext

        public <T> Optional<ShardingHint> callbackForDeleteContext​(Class<T> entityClass,
                                                                   org.springframework.data.mongodb.core.query.Query query)
      • callbackForDeleteContext

        public <T> Optional<ShardingHint> callbackForDeleteContext​(Class<T> entityClass,
                                                                   org.bson.Document query)
      • callbackForDeleteContext

        public <T> Optional<ShardingHint> callbackForDeleteContext​(T entity)