DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Attributes | List of all members
Deveel.Data.Sql.Cursors.FetchContext Class Reference

Public Member Functions

 FetchContext (IRequest request, SqlExpression reference)
 
 FetchContext (IRequest request, FetchDirection direction, SqlExpression reference)
 

Properties

FetchDirection Direction [get, private set]
 
SqlExpression Reference [get, set]
 
bool IsVariableReference [get]
 
bool IsGlobalReference [get]
 
IRequest Request [get, private set]
 
int Offset [get, set]
 

Private Attributes

int offset
 

Detailed Description

Definition at line 23 of file FetchContext.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Cursors.FetchContext.FetchContext ( IRequest  request,
SqlExpression  reference 
)
inline

Definition at line 26 of file FetchContext.cs.

27  : this(request, FetchDirection.Next, reference) {
28  }
Deveel.Data.Sql.Cursors.FetchContext.FetchContext ( IRequest  request,
FetchDirection  direction,
SqlExpression  reference 
)
inline

Definition at line 30 of file FetchContext.cs.

30  {
31  if (request == null)
32  throw new ArgumentNullException("request");
33  if (reference == null)
34  throw new ArgumentNullException("reference");
35 
36  if (reference.ExpressionType != SqlExpressionType.VariableReference &&
37  reference.ExpressionType != SqlExpressionType.Reference)
38  throw new ArgumentException("Invalid reference expression type.");
39 
40  Request = request;
41  Direction = direction;
42  Reference = reference;
43  }
SqlExpressionType
All the possible type of SqlExpression supported
abstract SqlExpressionType ExpressionType
Gets the type code of this SQL expression.

Member Data Documentation

int Deveel.Data.Sql.Cursors.FetchContext.offset
private

Definition at line 24 of file FetchContext.cs.

Property Documentation

FetchDirection Deveel.Data.Sql.Cursors.FetchContext.Direction
getprivate set

Definition at line 45 of file FetchContext.cs.

bool Deveel.Data.Sql.Cursors.FetchContext.IsGlobalReference
get

Definition at line 53 of file FetchContext.cs.

bool Deveel.Data.Sql.Cursors.FetchContext.IsVariableReference
get

Definition at line 49 of file FetchContext.cs.

int Deveel.Data.Sql.Cursors.FetchContext.Offset
getset

Definition at line 59 of file FetchContext.cs.

SqlExpression Deveel.Data.Sql.Cursors.FetchContext.Reference
getset

Definition at line 47 of file FetchContext.cs.

IRequest Deveel.Data.Sql.Cursors.FetchContext.Request
getprivate set

Definition at line 57 of file FetchContext.cs.


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