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