Interface IndexResolver
- All Known Implementing Classes:
CompositeIndexResolver
,PathIndexResolver
,SpelIndexResolver
public interface IndexResolver
IndexResolver
extracts secondary index structures to be applied on a given path, PersistentProperty
and value.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionresolveIndexesFor
(String keyspace, String path, TypeInformation<?> typeInformation, Object value) Resolves all indexes for given type information / value combination.resolveIndexesFor
(TypeInformation<?> typeInformation, Object value) Resolves all indexes for given type information / value combination.
-
Method Details
-
resolveIndexesFor
Resolves all indexes for given type information / value combination.- Parameters:
typeInformation
- must not be null.value
- the actual value. Can be null.- Returns:
- never null.
-
resolveIndexesFor
Set<IndexedData> resolveIndexesFor(String keyspace, String path, TypeInformation<?> typeInformation, @Nullable Object value) Resolves all indexes for given type information / value combination.- Parameters:
keyspace
- must not be null.path
- must not be null.typeInformation
- must not be null.value
- the actual value. Can be null.- Returns:
- never null.
-