public class IndexerSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCAL_INDEX_ROOT_DIR
Directory name in output directory under which indexes are
stored
|
| Constructor and Description |
|---|
IndexerSupport(IndexHelper indexHelper,
String checkpoint) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jackrabbit.oak.spi.state.NodeBuilder |
childBuilder(org.apache.jackrabbit.oak.spi.state.NodeBuilder nb,
String path,
boolean createNew) |
File |
copyIndexFilesToOutput() |
Map<String,String> |
getCheckpointInfo() |
File |
getLocalIndexDir() |
void |
postIndexWork(org.apache.jackrabbit.oak.spi.state.NodeStore copyOnWriteStore) |
org.apache.jackrabbit.oak.spi.state.NodeState |
retrieveNodeStateForCheckpoint() |
void |
setIndexDefinitions(File indexDefinitions) |
void |
switchIndexLanesAndReindexFlag(org.apache.jackrabbit.oak.spi.state.NodeStore copyOnWriteStore) |
void |
writeMetaInfo(String checkpoint) |
public static final String LOCAL_INDEX_ROOT_DIR
public IndexerSupport(IndexHelper indexHelper, String checkpoint)
public File getLocalIndexDir() throws IOException
IOExceptionpublic File copyIndexFilesToOutput() throws IOException
IOExceptionpublic void writeMetaInfo(String checkpoint) throws IOException
IOExceptionpublic org.apache.jackrabbit.oak.spi.state.NodeState retrieveNodeStateForCheckpoint()
public void switchIndexLanesAndReindexFlag(org.apache.jackrabbit.oak.spi.state.NodeStore copyOnWriteStore) throws org.apache.jackrabbit.oak.api.CommitFailedException, IOException
public void postIndexWork(org.apache.jackrabbit.oak.spi.state.NodeStore copyOnWriteStore) throws org.apache.jackrabbit.oak.api.CommitFailedException, IOException
public void setIndexDefinitions(File indexDefinitions)
public static org.apache.jackrabbit.oak.spi.state.NodeBuilder childBuilder(org.apache.jackrabbit.oak.spi.state.NodeBuilder nb, String path, boolean createNew)
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.