Class LuceneIndexInfoProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexInfoProvider
-
- All Implemented Interfaces:
IndexInfoProvider
public class LuceneIndexInfoProvider extends Object implements IndexInfoProvider
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexInfoProvider(NodeStore nodeStore, AsyncIndexInfoService asyncInfoService, File workDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexInfogetInfo(String indexPath)StringgetType()Index type for this implementation can provide informationbooleanisValid(String indexPath)Determined if the index is valid and usable.
-
-
-
Constructor Detail
-
LuceneIndexInfoProvider
public LuceneIndexInfoProvider(NodeStore nodeStore, AsyncIndexInfoService asyncInfoService, File workDir)
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:IndexInfoProviderIndex type for this implementation can provide information- Specified by:
getTypein interfaceIndexInfoProvider
-
getInfo
public IndexInfo getInfo(String indexPath) throws IOException
- Specified by:
getInfoin interfaceIndexInfoProvider- Throws:
IOException
-
isValid
public boolean isValid(String indexPath) throws IOException
Description copied from interface:IndexInfoProviderDetermined if the index is valid and usable. If the index is corrupt then it returns false- Specified by:
isValidin interfaceIndexInfoProvider- Throws:
IOException
-
-