public class PartitionKeyMethodResolver extends Object implements MethodResolver
MethodResolver handling custom methods internally without
a need to register via variables.| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD_DATEFORMAT |
static String |
METHOD_HASH |
static String |
METHOD_HASHLIST |
static String |
METHOD_HASHRANGE |
static String |
METHOD_PATH |
| Constructor and Description |
|---|
PartitionKeyMethodResolver() |
public static final String METHOD_DATEFORMAT
public static final String METHOD_PATH
public static final String METHOD_HASH
public static final String METHOD_HASHLIST
public static final String METHOD_HASHRANGE
public final MethodExecutor resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws AccessException
resolve in interface MethodResolverAccessExceptionprotected MethodExecutor dispatch(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws 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 handleAccessException - the access exceptionprotected MethodExecutor doDateFormat(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws 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 handleAccessException - the access exceptionprotected MethodExecutor doHash(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws 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 handleAccessException - the access exceptionprotected MethodExecutor doPath(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws 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 handleAccessException - the access exceptionprotected MethodExecutor doHashList(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws 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 handleAccessException - the access exceptionprotected MethodExecutor doHashRange(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws 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 handleAccessException - the access exception