DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Classes | Public Member Functions | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.Statements.SelectStatement Class Reference
Inheritance diagram for Deveel.Data.Sql.Statements.SelectStatement:
Deveel.Data.Sql.Statements.SqlStatement Deveel.Data.Sql.Statements.IPreparableStatement Deveel.Data.Sql.Statements.IStatement Deveel.Data.Serialization.ISerializable Deveel.Data.Sql.Statements.IStatement Deveel.Data.Sql.IExecutable Deveel.Data.Sql.IExecutable

Classes

class  Prepared
 

Public Member Functions

 SelectStatement (SqlQueryExpression queryExpression)
 
 SelectStatement (SqlQueryExpression queryExpression, IEnumerable< SortColumn > orderBy)
 
- Public Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
ITable Execute (IRequest context)
 Prepares and evaluates this statement into a tabular result. More...
 

Properties

SqlQueryExpression QueryExpression [get, private set]
 
IEnumerable< SortColumnOrderBy [get, set]
 
QueryLimit Limit [get, set]
 
- Properties inherited from Deveel.Data.Sql.Statements.SqlStatement
SqlQuery SourceQuery [get, set]
 Gets the SqlQuery that is the origin of this statement. More...
 
bool IsFromQuery [get, private set]
 Gets a boolean value indicating if this object was formed from the parsing of a SqlQuery or if it was manually created. More...
 
- Properties inherited from Deveel.Data.Sql.Statements.IStatement
SqlQuery SourceQuery [get]
 

Private Member Functions

IStatement IPreparableStatement. Prepare (IRequest context)
 

Additional Inherited Members

- Static Public Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
static IEnumerable< SqlStatementParse (string sqlSource)
 Parses a given string into one of more statements. More...
 
static IEnumerable< SqlStatementParse (IContext context, string sqlSource)
 Parses a given string into one of more statements. More...
 
static IEnumerable< SqlStatementParse (IContext context, SqlQuery query)
 
- Protected Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
 SqlStatement ()
 
 SqlStatement (ObjectData data)
 
virtual void ExecuteStatement (ExecutionContext context)
 
virtual void GetData (SerializeData data)
 
- Package Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
void SetSource (SqlQuery query)
 

Detailed Description

Definition at line 25 of file SelectStatement.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Statements.SelectStatement.SelectStatement ( SqlQueryExpression  queryExpression)
inline

Definition at line 26 of file SelectStatement.cs.

27  : this(queryExpression, null) {
28  }
Deveel.Data.Sql.Statements.SelectStatement.SelectStatement ( SqlQueryExpression  queryExpression,
IEnumerable< SortColumn orderBy 
)
inline

Definition at line 30 of file SelectStatement.cs.

30  {
31  if (queryExpression == null)
32  throw new ArgumentNullException("queryExpression");
33 
34  QueryExpression = queryExpression;
35  OrderBy = orderBy;
36  }

Member Function Documentation

IStatement IPreparableStatement. Deveel.Data.Sql.Statements.SelectStatement.Prepare ( IRequest  context)
inlineprivate

Implements Deveel.Data.Sql.Statements.IPreparableStatement.

Definition at line 44 of file SelectStatement.cs.

44  {
45  var queryPlan = context.Query.Context.QueryPlanner().PlanQuery(new QueryInfo(context, QueryExpression, OrderBy, Limit));
46  return new Prepared(queryPlan);
47  }

Property Documentation

QueryLimit Deveel.Data.Sql.Statements.SelectStatement.Limit
getset

Definition at line 42 of file SelectStatement.cs.

IEnumerable<SortColumn> Deveel.Data.Sql.Statements.SelectStatement.OrderBy
getset

Definition at line 40 of file SelectStatement.cs.

SqlQueryExpression Deveel.Data.Sql.Statements.SelectStatement.QueryExpression
getprivate set

Definition at line 38 of file SelectStatement.cs.


The documentation for this class was generated from the following file: