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 Details

    • resolveIndexesFor

      Set<IndexedData> resolveIndexesFor(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, 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.