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
optionsFields inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
fallback -
Constructor Summary
Constructors -
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.OptionScopegetScope()Methods inherited from class org.apache.drill.exec.server.options.InMemoryOptionManager
deleteAllLocalOptions, deleteLocalOption, setLocalOptionHelperMethods inherited from class org.apache.drill.exec.server.options.FallbackOptionManager
getOption, getOptionDefinition, 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
-
QueryOptionManager
-
-
Method Details
-
getOptionList
Description copied from interface:OptionManagerGets the list of options managed this manager.- Specified by:
getOptionListin interfaceOptionManager- Overrides:
getOptionListin classFallbackOptionManager- Returns:
- the list of options
-
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.
-
getSessionOptionManager
-
getOptionManager
-
getScope
- Specified by:
getScopein classBaseOptionManager
-