DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.Query.LimitNode Class Reference
Inheritance diagram for Deveel.Data.Sql.Query.LimitNode:
Deveel.Data.Sql.Query.SingleQueryPlanNode Deveel.Data.Sql.Query.IQueryPlanNode Deveel.Data.Serialization.ISerializable

Public Member Functions

 LimitNode (IQueryPlanNode child, long offset, long count)
 
override ITable Evaluate (IRequest context)
 

Protected Member Functions

override void GetData (SerializeData data)
 
- Protected Member Functions inherited from Deveel.Data.Sql.Query.SingleQueryPlanNode
 SingleQueryPlanNode (IQueryPlanNode child)
 
 SingleQueryPlanNode (ObjectData data)
 

Properties

long Offset [get, private set]
 
long Count [get, private set]
 
- Properties inherited from Deveel.Data.Sql.Query.SingleQueryPlanNode
IQueryPlanNode Child [get, private set]
 Gets the single child node of the plan. More...
 

Private Member Functions

 LimitNode (ObjectData data)
 

Detailed Description

Definition at line 24 of file LimitNode.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.LimitNode.LimitNode ( IQueryPlanNode  child,
long  offset,
long  count 
)
inline

Definition at line 29 of file LimitNode.cs.

30  : base(child) {
31  Offset = offset;
32  Count = count;
33  }
Deveel.Data.Sql.Query.LimitNode.LimitNode ( ObjectData  data)
inlineprivate

Definition at line 35 of file LimitNode.cs.

36  : base(data) {
37  Offset = data.GetInt64("Offset");
38  Count = data.GetInt64("Count");
39  }

Member Function Documentation

override ITable Deveel.Data.Sql.Query.LimitNode.Evaluate ( IRequest  context)
inlinevirtual

Implements Deveel.Data.Sql.Query.SingleQueryPlanNode.

Definition at line 41 of file LimitNode.cs.

41  {
42  var table = Child.Evaluate(context);
43  return new LimitedTable(table, Offset, Count);
44  }
ITable Evaluate(IRequest context)
IQueryPlanNode Child
Gets the single child node of the plan.
override void Deveel.Data.Sql.Query.LimitNode.GetData ( SerializeData  data)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Sql.Query.SingleQueryPlanNode.

Definition at line 46 of file LimitNode.cs.

46  {
47  data.SetValue("Offset", Offset);
48  data.SetValue("Count", Count);
49  }
void SetValue(string key, Type type, object value)

Property Documentation

long Deveel.Data.Sql.Query.LimitNode.Count
getprivate set

Definition at line 27 of file LimitNode.cs.

long Deveel.Data.Sql.Query.LimitNode.Offset
getprivate set

Definition at line 25 of file LimitNode.cs.


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