Definition at line 23 of file VariableManager.cs.
Deveel.Data.Sql.Variables.VariableManager.VariableManager |
( |
IVariableScope |
scope | ) |
|
|
inline |
Implements Deveel.Data.Sql.Variables.IVariableManager.
Definition at line 48 of file VariableManager.cs.
49 if (variableInfo == null)
50 throw new ArgumentNullException(
"variableInfo");
52 if (
variables.ContainsKey(variableInfo.VariableName))
53 throw new ArgumentException();
55 var variable =
new Variable(variableInfo);
56 variables[variableInfo.VariableName] = variable;
A single variable within a query context or in the system global context.
Dictionary< string, Variable > variables
void Deveel.Data.Sql.Variables.VariableManager.Dispose |
( |
| ) |
|
|
inline |
void Deveel.Data.Sql.Variables.VariableManager.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprivate |
bool Deveel.Data.Sql.Variables.VariableManager.DropVariable |
( |
string |
name | ) |
|
|
inline |
Variable Deveel.Data.Sql.Variables.VariableManager.GetVariable |
( |
string |
name | ) |
|
|
inline |
DataObject IVariableResolver. Deveel.Data.Sql.Variables.VariableManager.Resolve |
( |
ObjectName |
variable | ) |
|
|
inlineprivate |
Returns the value of a given variable.
- Parameters
-
- Returns
Implements Deveel.Data.Sql.IVariableResolver.
Definition at line 76 of file VariableManager.cs.
78 if (!
variables.TryGetValue(variableName.Name, out variable))
81 return variable.Value;
A single variable within a query context or in the system global context.
Dictionary< string, Variable > variables
SqlType IVariableResolver. Deveel.Data.Sql.Variables.VariableManager.ReturnType |
( |
ObjectName |
variable | ) |
|
|
inlineprivate |
Returns the SqlType of object the given variable is.
- Parameters
-
- Returns
Implements Deveel.Data.Sql.IVariableResolver.
Definition at line 84 of file VariableManager.cs.
86 if (!
variables.TryGetValue(variableName.Name, out variable))
A single variable within a query context or in the system global context.
Dictionary< string, Variable > variables
bool Deveel.Data.Sql.Variables.VariableManager.VariableExists |
( |
string |
name | ) |
|
|
inline |
Dictionary<string, Variable> Deveel.Data.Sql.Variables.VariableManager.variables |
|
private |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Variables/VariableManager.cs