Class IndexInfoServiceImpl
java.lang.Object
org.apache.jackrabbit.oak.plugins.index.IndexInfoServiceImpl
- All Implemented Interfaces:
IndexInfoService
-
Constructor Summary
ConstructorsConstructorDescriptionIndexInfoServiceImpl
(NodeStore nodeStore, IndexPathService indexPathService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindInfoProviders
(IndexInfoProvider infoProvider) ReturnsIndexInfo
for all the indexes present in the repositoryReturnsIndexInfo
for index at given pathboolean
Determined if the index is valid and usable.void
unbindInfoProviders
(IndexInfoProvider infoProvider)
-
Constructor Details
-
IndexInfoServiceImpl
public IndexInfoServiceImpl() -
IndexInfoServiceImpl
-
-
Method Details
-
getAllIndexInfo
Description copied from interface:IndexInfoService
ReturnsIndexInfo
for all the indexes present in the repository- Specified by:
getAllIndexInfo
in interfaceIndexInfoService
-
getInfo
Description copied from interface:IndexInfoService
ReturnsIndexInfo
for index at given path- Specified by:
getInfo
in interfaceIndexInfoService
- Parameters:
indexPath
- path repository- Returns:
- indexInfo for the index or null if there is no index node found at given path
- Throws:
IOException
-
isValid
Description copied from interface:IndexInfoService
Determined if the index is valid and usable. If the index is corrupt then it returns false- Specified by:
isValid
in interfaceIndexInfoService
- Throws:
IOException
-
bindInfoProviders
-
unbindInfoProviders
-