18 using System.Collections.Generic;
23 namespace Deveel.Data.Sql.Expressions {
27 SelectColumns = selectColumns;
43 if (data.
HasValue(
"CompositeFunction"))
46 IsCompositeAll = data.
GetBoolean(
"CompositeAll");
49 public IEnumerable<SelectColumn> SelectColumns {
get;
private set; }
57 public IEnumerable<SqlExpression> GroupBy {
get; set; }
67 public override bool CanEvaluate {
73 public bool IsCompositeAll {
get; set; }
75 public bool Distinct {
get; set; }
78 if (SelectColumns != null)
79 data.
SetValue(
"Columns", SelectColumns.ToArray());
83 data.
SetValue(
"Where", WhereExpression);
84 data.
SetValue(
"Having", HavingExpression);
87 data.
SetValue(
"GroupBy", GroupBy.ToArray());
90 data.
SetValue(
"NextComposite", NextComposite);
92 data.
SetValue(
"CompositeAll", IsCompositeAll);
void SetValue(string key, Type type, object value)
Describes the name of an object within a database.
SqlExpressionType
All the possible type of SqlExpression supported
A container for the FROM clause of a select statement.
Represents a column selected to be in the output of a select statement.
override void GetData(SerializeData data)
SqlQueryExpression(IEnumerable< SelectColumn > selectColumns)
bool GetBoolean(string key)
object GetValue(string key)
CompositeFunction
The kind of composite function in a CompositeTable.
Defines the base class for instances that represent SQL expression tree nodes.
bool HasValue(string key)
SqlQueryExpression(ObjectData data)