Class IndexImporter
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.importer.IndexImporter
-
public class IndexImporter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINDEX_IMPORT_STATE_KEYstatic java.lang.StringOAK_INDEX_IMPORTER_PRESERVE_CHECKPOINT
-
Constructor Summary
Constructors Constructor Description IndexImporter(NodeStore nodeStore, java.io.File indexDir, IndexEditorProvider indexEditorProvider, AsyncIndexerLock indexerLock)IndexImporter(NodeStore nodeStore, java.io.File indexDir, IndexEditorProvider indexEditorProvider, AsyncIndexerLock indexerLock, StatisticsProvider statisticsProvider)IndexImporter(NodeStore nodeStore, java.io.File indexDir, IndexEditorProvider indexEditorProvider, AsyncIndexerLock indexerLock, StatisticsProvider statisticsProvider, IndexingReporter indexingReporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImporterProvider(IndexImporterProvider importerProvider)voidimportIndex()
-
-
-
Field Detail
-
OAK_INDEX_IMPORTER_PRESERVE_CHECKPOINT
public static final java.lang.String OAK_INDEX_IMPORTER_PRESERVE_CHECKPOINT
- See Also:
- Constant Field Values
-
INDEX_IMPORT_STATE_KEY
public static final java.lang.String INDEX_IMPORT_STATE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexImporter
public IndexImporter(NodeStore nodeStore, java.io.File indexDir, IndexEditorProvider indexEditorProvider, AsyncIndexerLock indexerLock) throws java.io.IOException
- Throws:
java.io.IOException
-
IndexImporter
public IndexImporter(NodeStore nodeStore, java.io.File indexDir, IndexEditorProvider indexEditorProvider, AsyncIndexerLock indexerLock, StatisticsProvider statisticsProvider) throws java.io.IOException
- Throws:
java.io.IOException
-
IndexImporter
public IndexImporter(NodeStore nodeStore, java.io.File indexDir, IndexEditorProvider indexEditorProvider, AsyncIndexerLock indexerLock, StatisticsProvider statisticsProvider, IndexingReporter indexingReporter) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
importIndex
public void importIndex() throws java.io.IOException, CommitFailedException- Throws:
java.io.IOExceptionCommitFailedException
-
addImporterProvider
public void addImporterProvider(IndexImporterProvider importerProvider)
-
-