Interface IndexDefinitionProvider

All Known Subinterfaces:
ConfigurableIndexDefinitionProvider
All Known Implementing Classes:
IndexConfiguration

public interface IndexDefinitionProvider
IndexDefinitionProvider give access to IndexDefinitions for creating secondary index structures.
Since:
1.7
Author:
Christoph Strobl
  • Method Details

    • hasIndexFor

      boolean hasIndexFor(Serializable keyspace)
      Checks if an index is defined for a given keyspace.
      Parameters:
      keyspace - the keyspace to get
      Returns:
      never null
    • hasIndexFor

      boolean hasIndexFor(Serializable keyspace, String path)
      Checks if an index is defined for a given keyspace and property path.
      Parameters:
      keyspace -
      path -
      Returns:
      true if index is defined.
    • getIndexDefinitionsFor

      Set<IndexDefinition> getIndexDefinitionsFor(Serializable keyspace)
      Get the list of IndexDefinition for a given keyspace.
      Parameters:
      keyspace -
      Returns:
      never null.
    • getIndexDefinitionsFor

      Set<IndexDefinition> getIndexDefinitionsFor(Serializable keyspace, String path)
      Get the list of IndexDefinition for a given keyspace and property path.
      Parameters:
      keyspace -
      path -
      Returns:
      never null.