public class PartitionKeyMethodResolver
extends java.lang.Object
implements org.springframework.expression.MethodResolver
MethodResolver handling custom methods internally without
 a need to register via variables.| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | METHOD_DATEFORMAT | 
| static java.lang.String | METHOD_HASH | 
| static java.lang.String | METHOD_HASHLIST | 
| static java.lang.String | METHOD_HASHRANGE | 
| static java.lang.String | METHOD_PATH | 
| Constructor and Description | 
|---|
| PartitionKeyMethodResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.springframework.expression.MethodExecutor | dispatch(org.springframework.expression.EvaluationContext context,
        java.lang.Object targetObject,
        java.lang.String name,
        java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)Dispatch handling to an appropriate method supported by
 this  PartitionKeyMethodResolver. | 
| protected org.springframework.expression.MethodExecutor | doDateFormat(org.springframework.expression.EvaluationContext context,
            java.lang.Object targetObject,
            java.lang.String name,
            java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)Create a  MethodExecutorusingDateFormatMethodExecutor. | 
| protected org.springframework.expression.MethodExecutor | doHash(org.springframework.expression.EvaluationContext context,
      java.lang.Object targetObject,
      java.lang.String name,
      java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)Create a  MethodExecutorusingHashMethodExecutor. | 
| protected org.springframework.expression.MethodExecutor | doHashList(org.springframework.expression.EvaluationContext context,
          java.lang.Object targetObject,
          java.lang.String name,
          java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)Create a  MethodExecutorusingHashListMethodExecutor. | 
| protected org.springframework.expression.MethodExecutor | doHashRange(org.springframework.expression.EvaluationContext context,
           java.lang.Object targetObject,
           java.lang.String name,
           java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)Create a  MethodExecutorusingHashRangeMethodExecutor. | 
| protected org.springframework.expression.MethodExecutor | doPath(org.springframework.expression.EvaluationContext context,
      java.lang.Object targetObject,
      java.lang.String name,
      java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)Create a  MethodExecutorusingPathCombiningMethodExecutor. | 
| org.springframework.expression.MethodExecutor | resolve(org.springframework.expression.EvaluationContext context,
       java.lang.Object targetObject,
       java.lang.String name,
       java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes) | 
public static final java.lang.String METHOD_DATEFORMAT
public static final java.lang.String METHOD_PATH
public static final java.lang.String METHOD_HASH
public static final java.lang.String METHOD_HASHLIST
public static final java.lang.String METHOD_HASHRANGE
public final org.springframework.expression.MethodExecutor resolve(org.springframework.expression.EvaluationContext context,
                                                    java.lang.Object targetObject,
                                                    java.lang.String name,
                                                    java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                            throws org.springframework.expression.AccessException
resolve in interface org.springframework.expression.MethodResolverorg.springframework.expression.AccessExceptionprotected org.springframework.expression.MethodExecutor dispatch(org.springframework.expression.EvaluationContext context,
                                                     java.lang.Object targetObject,
                                                     java.lang.String name,
                                                     java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                          throws org.springframework.expression.AccessException
PartitionKeyMethodResolver.context - the current evaluation contexttargetObject - the object upon which the method is being calledargumentTypes - the arguments that the constructor must be able to handleorg.springframework.expression.AccessException - the access exceptionprotected org.springframework.expression.MethodExecutor doDateFormat(org.springframework.expression.EvaluationContext context,
                                                         java.lang.Object targetObject,
                                                         java.lang.String name,
                                                         java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                              throws org.springframework.expression.AccessException
MethodExecutor using DateFormatMethodExecutor.context - the current evaluation contexttargetObject - the object upon which the method is being calledargumentTypes - the arguments that the constructor must be able to handleorg.springframework.expression.AccessException - the access exceptionprotected org.springframework.expression.MethodExecutor doHash(org.springframework.expression.EvaluationContext context,
                                                   java.lang.Object targetObject,
                                                   java.lang.String name,
                                                   java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                        throws org.springframework.expression.AccessException
MethodExecutor using HashMethodExecutor.context - the current evaluation contexttargetObject - the object upon which the method is being calledargumentTypes - the arguments that the constructor must be able to handleorg.springframework.expression.AccessException - the access exceptionprotected org.springframework.expression.MethodExecutor doPath(org.springframework.expression.EvaluationContext context,
                                                   java.lang.Object targetObject,
                                                   java.lang.String name,
                                                   java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                        throws org.springframework.expression.AccessException
MethodExecutor using PathCombiningMethodExecutor.context - the current evaluation contexttargetObject - the object upon which the method is being calledargumentTypes - the arguments that the constructor must be able to handleorg.springframework.expression.AccessException - the access exceptionprotected org.springframework.expression.MethodExecutor doHashList(org.springframework.expression.EvaluationContext context,
                                                       java.lang.Object targetObject,
                                                       java.lang.String name,
                                                       java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                            throws org.springframework.expression.AccessException
MethodExecutor using HashListMethodExecutor.context - the current evaluation contexttargetObject - the object upon which the method is being calledargumentTypes - the arguments that the constructor must be able to handleorg.springframework.expression.AccessException - the access exceptionprotected org.springframework.expression.MethodExecutor doHashRange(org.springframework.expression.EvaluationContext context,
                                                        java.lang.Object targetObject,
                                                        java.lang.String name,
                                                        java.util.List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
                                                             throws org.springframework.expression.AccessException
MethodExecutor using HashRangeMethodExecutor.context - the current evaluation contexttargetObject - the object upon which the method is being calledargumentTypes - the arguments that the constructor must be able to handleorg.springframework.expression.AccessException - the access exception