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, org.springframework.data.util.TypeInformation<?> typeInformation, Object value) Resolves all indexes for given type information / value combination.resolveIndexesFor(org.springframework.data.util.TypeInformation<?> typeInformation, Object value) Resolves all indexes for given type information / value combination.
-
Method Details
-
resolveIndexesFor
Set<IndexedData> resolveIndexesFor(org.springframework.data.util.TypeInformation<?> typeInformation, @Nullable Object value) 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, org.springframework.data.util.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.
-