public interface IndexDefinitionProvider
IndexDefinitionProvider give access to IndexDefinitions for creating secondary index structures.| Modifier and Type | Method and Description |
|---|---|
Set<IndexDefinition> |
getIndexDefinitionsFor(Serializable keyspace)
Get the list of
IndexDefinition for a given keyspace. |
Set<IndexDefinition> |
getIndexDefinitionsFor(Serializable keyspace,
String path)
|
boolean |
hasIndexFor(Serializable keyspace)
Checks if an index is defined for a given
keyspace. |
boolean |
hasIndexFor(Serializable keyspace,
String path)
Checks if an index is defined for a given
keyspace and property path. |
boolean hasIndexFor(Serializable keyspace)
keyspace.keyspace - the keyspace to getboolean hasIndexFor(Serializable keyspace, String path)
keyspace and property path.keyspace - path - Set<IndexDefinition> getIndexDefinitionsFor(Serializable keyspace)
IndexDefinition for a given keyspace.keyspace - Set<IndexDefinition> getIndexDefinitionsFor(Serializable keyspace, String path)
keyspace - path - Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.