public class PartitionKeyMethodResolver
extends org.springframework.expression.spel.support.ReflectiveMethodResolver
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() |
PartitionKeyMethodResolver(boolean useDistance) |
Modifier and Type | Method and Description |
---|---|
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 PartitionKeyMethodResolver()
public PartitionKeyMethodResolver(boolean useDistance)
public 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.MethodResolver
resolve
in class org.springframework.expression.spel.support.ReflectiveMethodResolver
org.springframework.expression.AccessException