Class InMemoryOptionManager
java.lang.Object
org.apache.drill.exec.server.options.BaseOptionManager
org.apache.drill.exec.server.options.FallbackOptionManager
org.apache.drill.exec.server.options.InMemoryOptionManager
- All Implemented Interfaces:
Iterable<OptionValue>,OptionManager,OptionSet
- Direct Known Subclasses:
FragmentOptionManager,QueryOptionManager,SessionOptionManager
This is an
OptionManager that holds options in memory rather than in
a persistent store. Options stored in SessionOptionManager,
QueryOptionManager, and FragmentOptionManager are held in
memory (see options) whereas the SystemOptionManager stores
options in a persistent store.-
Field Summary
FieldsFields inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
fallback -
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes all options.voiddeleteLocalOption(String name) Deletes the option.voidsetLocalOptionHelper(OptionValue value) Methods inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
getOption, getOptionDefinition, getOptionList, iteratorMethods inherited from class org.apache.drill.exec.server.options.BaseOptionManager
getBoolean, getDouble, getInt, getInternalOptionList, getLong, getOption, getOption, getOption, getOption, getPublicOptionList, getScope, getString, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.apache.drill.exec.server.options.OptionSet
getDefault
-
Field Details
-
options
-
-
Method Details
-
setLocalOptionHelper
- Specified by:
setLocalOptionHelperin classBaseOptionManager
-
deleteAllLocalOptions
public void deleteAllLocalOptions()Description copied from interface:OptionManagerDeletes all options. If no options are set, calling this method should be no-op. -
deleteLocalOption
Description copied from interface:OptionManagerDeletes the option. If the option name is valid (exists in the set of validators produced bySystemOptionManager.createDefaultOptionDefinitions()), but the option was not set within this manager, calling this method should be a no-op.- Parameters:
name- option name
-