Interface IndexDefinitionProvider
- All Known Subinterfaces:
ConfigurableIndexDefinitionProvider
- All Known Implementing Classes:
IndexConfiguration
public interface IndexDefinitionProvider
IndexDefinitionProvider
give access to IndexDefinition
s for creating secondary index structures.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptiongetIndexDefinitionsFor
(Serializable keyspace) Get the list ofIndexDefinition
for a givenkeyspace
.getIndexDefinitionsFor
(Serializable keyspace, String path) boolean
hasIndexFor
(Serializable keyspace) Checks if an index is defined for a givenkeyspace
.boolean
hasIndexFor
(Serializable keyspace, String path) Checks if an index is defined for a givenkeyspace
and propertypath
.
-
Method Details
-
hasIndexFor
Checks if an index is defined for a givenkeyspace
.- Parameters:
keyspace
- the keyspace to get- Returns:
- never null
-
hasIndexFor
Checks if an index is defined for a givenkeyspace
and propertypath
.- Parameters:
keyspace
-path
-- Returns:
- true if index is defined.
-
getIndexDefinitionsFor
Get the list ofIndexDefinition
for a givenkeyspace
.- Parameters:
keyspace
-- Returns:
- never null.
-
getIndexDefinitionsFor
- Parameters:
keyspace
-path
-- Returns:
- never null.
-