public class DefaultPartitionStrategy<T> extends AbstractPartitionStrategy<T,java.util.Map<java.lang.String,java.lang.Object>>
PartitionStrategy
which is used to provide a generic partitioning support using Spring SpEL.Constructor and Description |
---|
DefaultPartitionStrategy(org.springframework.expression.Expression expression)
Instantiates a new default partition strategy.
|
DefaultPartitionStrategy(org.springframework.expression.Expression expression,
org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
Instantiates a new default partition strategy with
EvaluationContext . |
DefaultPartitionStrategy(java.lang.String expression)
Instantiates a new default partition strategy.
|
DefaultPartitionStrategy(java.lang.String expression,
org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
Instantiates a new default partition strategy with
EvaluationContext . |
DefaultPartitionStrategy(java.lang.String expression,
org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext,
org.springframework.expression.ExpressionParser expressionParser)
Instantiates a new default partition strategy with
EvaluationContext and ExpressionParser . |
getPartitionKeyResolver, getPartitionResolver
public DefaultPartitionStrategy(org.springframework.expression.Expression expression)
expression
- the expressionpublic DefaultPartitionStrategy(org.springframework.expression.Expression expression, org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
EvaluationContext
.expression
- the expressionevaluationContext
- the evaluation contextpublic DefaultPartitionStrategy(java.lang.String expression)
expression
- the expressionpublic DefaultPartitionStrategy(java.lang.String expression, org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
EvaluationContext
.expression
- the expressionevaluationContext
- the evaluation contextpublic DefaultPartitionStrategy(java.lang.String expression, org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext, org.springframework.expression.ExpressionParser expressionParser)
EvaluationContext
and ExpressionParser
.expression
- the expressionevaluationContext
- the evaluation contextexpressionParser
- the expression parser