Class FragmentOptionManager
java.lang.Object
org.apache.drill.exec.server.options.BaseOptionManager
org.apache.drill.exec.server.options.FallbackOptionManager
org.apache.drill.exec.server.options.InMemoryOptionManager
org.apache.drill.exec.server.options.FragmentOptionManager
- All Implemented Interfaces:
Iterable<OptionValue>
,OptionManager
,OptionSet
OptionManager
that holds options within FragmentContextImpl
.-
Field Summary
Fields inherited from class org.apache.drill.exec.server.options.InMemoryOptionManager
options
Fields inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
fallback
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes all options.void
deleteLocalOption
(String name) Deletes the option.getDefault
(String optionName) Gets the default value for the specified option.protected OptionValue.OptionScope
getScope()
void
setLocalOptionHelper
(OptionValue value) Methods inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
getOption, getOptionDefinition, getOptionList, iterator
Methods inherited from class org.apache.drill.exec.server.options.BaseOptionManager
getBoolean, getDouble, getInt, getInternalOptionList, getLong, getOption, getOption, getOption, getOption, getPublicOptionList, getString, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FragmentOptionManager
-
-
Method Details
-
deleteAllLocalOptions
public void deleteAllLocalOptions()Description copied from interface:OptionManager
Deletes all options. If no options are set, calling this method should be no-op.- Specified by:
deleteAllLocalOptions
in interfaceOptionManager
- Overrides:
deleteAllLocalOptions
in classInMemoryOptionManager
-
deleteLocalOption
Description copied from interface:OptionManager
Deletes 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.- Specified by:
deleteLocalOption
in interfaceOptionManager
- Overrides:
deleteLocalOption
in classInMemoryOptionManager
- Parameters:
name
- option name
-
getDefault
Description copied from interface:OptionSet
Gets the default value for the specified option.- Parameters:
optionName
- The option to retrieve the default value for.- Returns:
- The default value for the option.
-
getScope
- Specified by:
getScope
in classBaseOptionManager
-
setLocalOptionHelper
- Overrides:
setLocalOptionHelper
in classInMemoryOptionManager
-