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
invalid reference
FragmentContextImpl
-
Field Summary
Fields inherited from class org.apache.drill.exec.server.options.InMemoryOptionManager
optionsFields inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
fallback -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes all options.voiddeleteLocalOption(String name) Deletes the option.getDefault(String optionName) Gets the default value for the specified option.protected OptionValue.OptionScopegetScope()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, 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, spliterator
-
Constructor Details
-
FragmentOptionManager
-
-
Method Details
-
deleteAllLocalOptions
public void deleteAllLocalOptions()Description copied from interface:OptionManagerDeletes all options. If no options are set, calling this method should be no-op.- Specified by:
deleteAllLocalOptionsin interfaceOptionManager- Overrides:
deleteAllLocalOptionsin classInMemoryOptionManager
-
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.- Specified by:
deleteLocalOptionin interfaceOptionManager- Overrides:
deleteLocalOptionin classInMemoryOptionManager- Parameters:
name- option name
-
getDefault
Description copied from interface:OptionSetGets 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:
getScopein classBaseOptionManager
-
setLocalOptionHelper
- Overrides:
setLocalOptionHelperin classInMemoryOptionManager
-