public class SpelIndexDefinition extends RedisIndexDefinition
SpelIndexDefinition defines index that is evaluated based on a SpelExpression requires the
SpelIndexResolver to be evaluated.RedisIndexDefinition.CompositeValueTransformer, RedisIndexDefinition.LowercaseIndexValueTransformer, RedisIndexDefinition.NoOpValueTransformer, RedisIndexDefinition.OrCondition<T>, RedisIndexDefinition.PathConditionIndexDefinition.Condition<T>, IndexDefinition.IndexingContext| Constructor and Description |
|---|
SpelIndexDefinition(String keyspace,
String expression,
String indexName)
Creates new
SpelIndexDefinition. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getExpression()
Get the raw expression.
|
int |
hashCode() |
addCondition, getConditions, getIndexName, getKeyspace, getPath, setValueTransformer, valueTransformerpublic SpelIndexDefinition(String keyspace, String expression, String indexName)
SpelIndexDefinition.keyspace - must not be null.expression - must not be null.indexName - must not be null.public String getExpression()
public boolean equals(Object o)
equals in class RedisIndexDefinitionprotected boolean canEqual(Object other)
public int hashCode()
hashCode in class RedisIndexDefinitionCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.