public interface IndexDefinition
IndexDefinition allow to set up a blueprint for creating secondary index structures in Redis. Setting up
conditions allows to define IndexDefinition.Condition that have to be passed in order to add a value to the index. This
allows to fine grained tune the index structure. IndexValueTransformer gets applied to the raw value for
creating the actual index entry.| Modifier and Type | Interface and Description |
|---|---|
static interface |
IndexDefinition.Condition<T> |
static class |
IndexDefinition.IndexingContext
Context in which a particular value is about to get indexed.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<IndexDefinition.Condition<?>> |
getConditions() |
String |
getIndexName() |
String |
getKeyspace() |
IndexValueTransformer |
valueTransformer() |
String getKeyspace()
Collection<IndexDefinition.Condition<?>> getConditions()
IndexValueTransformer valueTransformer()
String getIndexName()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.