Definition at line 24 of file Variable.cs.
Deveel.Data.Sql.Variables.Variable.Variable |
( |
VariableInfo |
variableInfo | ) |
|
|
inline |
Definition at line 25 of file Variable.cs.
26 if (variableInfo == null)
27 throw new ArgumentNullException(
"variableInfo");
VariableInfo VariableInfo
bool Deveel.Data.Sql.Variables.Variable.Equals |
( |
Variable |
other | ) |
|
|
inline |
Definition at line 66 of file Variable.cs.
70 if (!
Name.Equals(other.Name) ||
75 other.ValueFromExpression) {
override bool Equals(object obj)
override bool Equals(object obj)
Definition at line 83 of file Variable.cs.
84 if (expression == null)
85 throw new ArgumentNullException(
"expression");
88 throw new InvalidOperationException();
90 if (!expression.IsConstant())
91 throw new ArgumentException();
95 var exp = expression.
Evaluate(context, null);
97 throw new InvalidOperationException();
SqlExpressionType
All the possible type of SqlExpression supported
virtual SqlExpression Evaluate(EvaluateContext context)
When overridden by a derived class, this method evaluates the expression within the provided context...
An expression that holds a constant value.
void SetValue(IQuery context, SqlExpression expression)
void Deveel.Data.Sql.Variables.Variable.SetValue |
( |
DataObject |
value | ) |
|
|
inline |
Definition at line 103 of file Variable.cs.
105 throw new InvalidOperationException();
108 throw new ArgumentException();
112 throw new ArgumentException();
bool IsNull
Gets a value that indicates if this object is materialized as null.
SqlType Type
Gets the SqlType that defines the object properties
DataObject CastTo(SqlType destType)
Converts this object to the given SqlType.
virtual bool CanCastTo(SqlType destType)
Verifies if this type can cast any value to the given SqlType.
override bool Equals(object obj)
ObjectName IDbObject. Deveel.Data.Sql.Variables.Variable.FullName |
|
getprivate |
bool Deveel.Data.Sql.Variables.Variable.IsConstant |
|
get |
bool Deveel.Data.Sql.Variables.Variable.IsNotNull |
|
get |
string Deveel.Data.Sql.Variables.Variable.Name |
|
get |
DbObjectType IDbObject. Deveel.Data.Sql.Variables.Variable.ObjectType |
|
getprivate |
SqlType Deveel.Data.Sql.Variables.Variable.Type |
|
get |
DataObject Deveel.Data.Sql.Variables.Variable.Value |
|
getprivate set |
bool Deveel.Data.Sql.Variables.Variable.ValueFromExpression |
|
get |
VariableInfo Deveel.Data.Sql.Variables.Variable.VariableInfo |
|
getprivate set |
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/Variable.cs