public class IndexerInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
checkpoint |
static java.lang.String |
INDEX_METADATA_FILE_NAME
Name of meta file which stores the index related meta information
in properties file format
|
static java.lang.String |
INDEXER_META
File name stored in final index directory which contains meta
information like checkpoint details.
|
static java.lang.String |
PROP_INDEX_PATH
Property name in index-details.txt which refers to the
index path in repository
|
Constructor and Description |
---|
IndexerInfo(java.io.File rootDir,
java.lang.String checkpoint) |
Modifier and Type | Method and Description |
---|---|
static IndexerInfo |
fromDirectory(java.io.File rootDir) |
java.util.Map<java.lang.String,java.io.File> |
getIndexes() |
void |
save() |
public static final java.lang.String INDEXER_META
public static final java.lang.String INDEX_METADATA_FILE_NAME
public static final java.lang.String PROP_INDEX_PATH
public final java.lang.String checkpoint
public IndexerInfo(java.io.File rootDir, java.lang.String checkpoint)
public void save() throws java.io.IOException
java.io.IOException
public java.util.Map<java.lang.String,java.io.File> getIndexes() throws java.io.IOException
java.io.IOException
public static IndexerInfo fromDirectory(java.io.File rootDir) throws java.io.IOException
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved