Interface HintResolutionCallback<T>

    • 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)