public abstract class RedisIndexDefinition extends Object implements IndexDefinition
IndexDefinition implementation.| Modifier and Type | Class and Description |
|---|---|
static class |
RedisIndexDefinition.CompositeValueTransformer |
static class |
RedisIndexDefinition.LowercaseIndexValueTransformer |
static class |
RedisIndexDefinition.NoOpValueTransformer |
static class |
RedisIndexDefinition.OrCondition<T> |
static class |
RedisIndexDefinition.PathCondition |
IndexDefinition.Condition<T>, IndexDefinition.IndexingContext| Modifier | Constructor and Description |
|---|---|
protected |
RedisIndexDefinition(String keyspace,
String path,
String indexName)
Creates new
RedisIndexDefinition. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCondition(IndexDefinition.Condition<?> condition) |
boolean |
equals(Object obj) |
Collection<IndexDefinition.Condition<?>> |
getConditions() |
String |
getIndexName() |
String |
getKeyspace() |
String |
getPath() |
int |
hashCode() |
void |
setValueTransformer(IndexValueTransformer valueTransformer) |
IndexValueTransformer |
valueTransformer() |
protected RedisIndexDefinition(String keyspace, @Nullable String path, String indexName)
RedisIndexDefinition.keyspace - path - indexName - public String getKeyspace()
getKeyspace in interface IndexDefinitionpublic Collection<IndexDefinition.Condition<?>> getConditions()
getConditions in interface IndexDefinitionpublic IndexValueTransformer valueTransformer()
valueTransformer in interface IndexDefinitionpublic String getIndexName()
getIndexName in interface IndexDefinitionprotected void addCondition(IndexDefinition.Condition<?> condition)
public void setValueTransformer(IndexValueTransformer valueTransformer)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.