Class QueryOptionManager
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.QueryOptionManager
- All Implemented Interfaces:
Iterable<OptionValue>
,OptionManager
,OptionSet
OptionManager
that holds options within QueryContext
.-
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 TypeMethodDescriptiongetDefault
(String optionName) Gets the default value for the specified option.Gets the list of options managed this manager.protected OptionValue.OptionScope
getScope()
Methods inherited from class org.apache.drill.exec.server.options.InMemoryOptionManager
deleteAllLocalOptions, deleteLocalOption, setLocalOptionHelper
Methods inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
getOption, getOptionDefinition, 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
-
QueryOptionManager
-
-
Method Details
-
getOptionList
Description copied from interface:OptionManager
Gets the list of options managed this manager.- Specified by:
getOptionList
in interfaceOptionManager
- Overrides:
getOptionList
in classFallbackOptionManager
- Returns:
- the list of options
-
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.
-
getSessionOptionManager
-
getOptionManager
-
getScope
- Specified by:
getScope
in classBaseOptionManager
-