Interface IndexInfoService
-
- All Known Implementing Classes:
IndexInfoServiceImpl
@ProviderType public interface IndexInfoService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<IndexInfo>
getAllIndexInfo()
ReturnsIndexInfo
for all the indexes present in the repository@Nullable IndexInfo
getInfo(String indexPath)
ReturnsIndexInfo
for index at given pathboolean
isValid(String indexPath)
Determined if the index is valid and usable.
-
-
-
Method Detail
-
getAllIndexInfo
Iterable<IndexInfo> getAllIndexInfo()
ReturnsIndexInfo
for all the indexes present in the repository
-
getInfo
@Nullable @Nullable IndexInfo getInfo(String indexPath) throws IOException
ReturnsIndexInfo
for index at given path- Parameters:
indexPath
- path repository- Returns:
- indexInfo for the index or null if there is no index node found at given path
- Throws:
IOException
-
isValid
boolean isValid(String indexPath) throws IOException
Determined if the index is valid and usable. If the index is corrupt then it returns false- Throws:
IOException
-
-