public class QueryOptionManager extends InMemoryOptionManager
OptionManager
that holds options within QueryContext
.options
fallback
Constructor and Description |
---|
QueryOptionManager(OptionManager sessionOptions) |
Modifier and Type | Method and Description |
---|---|
OptionValue |
getDefault(String optionName)
Gets the default value for the specified option.
|
OptionList |
getOptionList()
Gets the list of options managed this manager.
|
OptionManager |
getOptionManager(OptionValue.OptionScope scope) |
protected OptionValue.OptionScope |
getScope() |
SessionOptionManager |
getSessionOptionManager() |
deleteAllLocalOptions, deleteLocalOption, setLocalOptionHelper
getOption, getOptionDefinition, iterator
getBoolean, getDouble, getInt, getInternalOptionList, getLong, getOption, getOption, getOption, getOption, getPublicOptionList, getString, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public QueryOptionManager(OptionManager sessionOptions)
public OptionList getOptionList()
OptionManager
getOptionList
in interface OptionManager
getOptionList
in class FallbackOptionManager
public OptionValue getDefault(String optionName)
OptionSet
optionName
- The option to retrieve the default value for.public SessionOptionManager getSessionOptionManager()
public OptionManager getOptionManager(OptionValue.OptionScope scope)
protected OptionValue.OptionScope getScope()
getScope
in class BaseOptionManager
Copyright © 2021 The Apache Software Foundation. All rights reserved.