Class SessionOptionManager

All Implemented Interfaces:
Iterable<OptionValue>, OptionManager, OptionSet

public class SessionOptionManager extends InMemoryOptionManager
OptionManager that holds options within UserSession context. Options set at the session level only apply to queries that you run during the current Drill connection. Session level settings override system level settings. NOTE that currently, the effects of deleting a short lived option (see OptionValidator.isShortLived()) are undefined. For example, we inject an exception (passed through an option), then try to delete the option, depending on where the exception was injected, the reset query could either succeed or the exception could actually be thrown in the reset query itself.