Package org.apache.jackrabbit.oak.index
Class IndexOptions
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.IndexOptions
-
- All Implemented Interfaces:
OptionsBean
public class IndexOptions extends Object implements OptionsBean
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<joptsimple.OptionSpec>
actionOpts
static OptionsBeanFactory
FACTORY
protected joptsimple.OptionSet
options
-
Constructor Summary
Constructors Constructor Description IndexOptions(joptsimple.OptionParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
aysncDelay()
boolean
buildFlatFileStoreSeparately()
boolean
checkConsistency()
void
configure(joptsimple.OptionSet options)
int
consistencyCheckLevel()
String
description()
Description string for this set of optionsboolean
dumpDefinitions()
boolean
dumpIndex()
boolean
dumpStats()
List<String>
getAsyncLanes()
String
getCheckpoint()
File
getExistingDataDumpDir()
File
getIndexDefinitionsFile()
File
getIndexImportDir()
List<String>
getIndexPaths()
File
getOutDir()
File
getPreExtractedTextDir()
File
getWorkDir()
boolean
isAsyncIndex()
boolean
isCowCorEnabled()
boolean
isDocTraversalMode()
boolean
isIgnoreMissingTikaDep()
boolean
isImportIndex()
boolean
isReindex()
Set<String>
operationNames()
Option names which are actually performing operationint
order()
Used to sort the help output.String
title()
Title string for this set of options
-
-
-
Field Detail
-
FACTORY
public static final OptionsBeanFactory FACTORY
-
options
protected joptsimple.OptionSet options
-
actionOpts
protected final Set<joptsimple.OptionSpec> actionOpts
-
-
Method Detail
-
configure
public void configure(joptsimple.OptionSet options)
- Specified by:
configure
in interfaceOptionsBean
-
title
public String title()
Description copied from interface:OptionsBean
Title string for this set of options- Specified by:
title
in interfaceOptionsBean
-
description
public String description()
Description copied from interface:OptionsBean
Description string for this set of options- Specified by:
description
in interfaceOptionsBean
-
order
public int order()
Description copied from interface:OptionsBean
Used to sort the help output. Help for OptionsBean in descending order i.e. bean having highest order would be rendered first- Specified by:
order
in interfaceOptionsBean
-
operationNames
public Set<String> operationNames()
Description copied from interface:OptionsBean
Option names which are actually performing operation- Specified by:
operationNames
in interfaceOptionsBean
-
getWorkDir
public File getWorkDir() throws IOException
- Throws:
IOException
-
getExistingDataDumpDir
public File getExistingDataDumpDir()
-
getOutDir
public File getOutDir()
-
getPreExtractedTextDir
public File getPreExtractedTextDir()
-
getIndexDefinitionsFile
public File getIndexDefinitionsFile()
-
getIndexImportDir
public File getIndexImportDir()
-
dumpStats
public boolean dumpStats()
-
dumpDefinitions
public boolean dumpDefinitions()
-
dumpIndex
public boolean dumpIndex()
-
checkConsistency
public boolean checkConsistency()
-
consistencyCheckLevel
public int consistencyCheckLevel()
-
aysncDelay
public long aysncDelay()
-
isReindex
public boolean isReindex()
-
isIgnoreMissingTikaDep
public boolean isIgnoreMissingTikaDep()
-
isAsyncIndex
public boolean isAsyncIndex()
-
isImportIndex
public boolean isImportIndex()
-
isDocTraversalMode
public boolean isDocTraversalMode()
-
isCowCorEnabled
public boolean isCowCorEnabled()
-
buildFlatFileStoreSeparately
public boolean buildFlatFileStoreSeparately()
-
getCheckpoint
public String getCheckpoint()
-
-