deephaven.QueryScope¶
Variable scope used to resolve parameter values during query execution.
-
addParam
(name, value)¶ - Adds a parameter to the default instance QueryScope, or updates the value of an
existing parameter.
Note: Java generics information - <T>
- Parameters
name – java.lang.String
value – T
-
getDefaultInstance
()¶ Retrieve the default QueryScope instance which will be used by static methods.
- Returns
(com.illumon.iris.db.tables.select.QueryScope) QueryScope
-
getParamValue
(name)¶ Gets a parameter from the default instance QueryScope.
Note: Java generics information - <T>
- Parameters
name – java.lang.String
- Returns
parameter value.
-
makeScriptSessionImpl
(scriptSession)¶ Creates a query scope for an interactive console script session.
- Parameters
scriptSession – (com.illumon.iris.db.util.ScriptSession) - script session
- Returns
(com.illumon.iris.db.tables.select.QueryScope) query scope
-
setDefaultInstance
(queryScope)¶ - Sets the default QueryScope to be used in the current context. By default there is a
QueryScope.StandaloneImpl created by the static initializer and set as the defaultInstance. The method allows the use of a new or separate instance as the default instance for static methods.
- Parameters
queryScope – (com.illumon.iris.db.tables.select.QueryScope) - QueryScope to set as the new default instance.