@Immutable public abstract class RepositoryIndexes extends Object
IndexDefinition
instances describing all of the currently available indexes.Modifier and Type | Field and Description |
---|---|
static RepositoryIndexes |
NO_INDEXES
A
RepositoryIndexes implementation that contains no indexes. |
Constructor and Description |
---|
RepositoryIndexes() |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,IndexDefinition> |
getIndexDefinitions()
Get a map of the registered index definitions keyed by their names.
|
abstract boolean |
hasIndexDefinitions()
Determine whether there is at least one index definition for the repository.
|
abstract Iterable<IndexDefinition> |
indexesFor(String nodeTypeName,
String providerName)
Get all of the index definitions that deal with properties on the node type with the given name.
|
public static final RepositoryIndexes NO_INDEXES
RepositoryIndexes
implementation that contains no indexes.public abstract boolean hasIndexDefinitions()
public abstract Map<String,IndexDefinition> getIndexDefinitions()
public abstract Iterable<IndexDefinition> indexesFor(String nodeTypeName, String providerName)
nodeTypeName
- the name of the node type for which the indexes are to be obtained; may not be nullproviderName
- the name of the provider that owns the indexes; may not be nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.