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

Defines a contract used by grouping functions to find information about the current group being evaluated. More...

Inheritance diagram for Deveel.Data.Sql.IGroupResolver:
Deveel.Data.Sql.Tables.FunctionTable.TableGroupResolver

Public Member Functions

DataObject Resolve (ObjectName variable, int setIndex)
 Returns the value of a variable of a group. More...
 
IVariableResolver GetVariableResolver (int setIndex)
 Returns a IVariableResolver that can be used to resolve variable in the get set of the group. More...
 

Properties

int GroupId [get]
 A number that uniquely identifies this group from all the others in the set of groups. More...
 
int Count [get]
 Gets the total number of items in this group. More...
 

Detailed Description

Defines a contract used by grouping functions to find information about the current group being evaluated.

Definition at line 24 of file IGroupResolver.cs.

Member Function Documentation

IVariableResolver Deveel.Data.Sql.IGroupResolver.GetVariableResolver ( int  setIndex)

Returns a IVariableResolver that can be used to resolve variable in the get set of the group.

Parameters
setIndex

The object returned is undefined after the next call to this method.

Returns

Implemented in Deveel.Data.Sql.Tables.FunctionTable.TableGroupResolver.

DataObject Deveel.Data.Sql.IGroupResolver.Resolve ( ObjectName  variable,
int  setIndex 
)

Returns the value of a variable of a group.

Parameters
variable
setIndex

The set index signifies the set item of the group. For example, if the group contains 10 items, then set_index may be between 0 and 9. Return types must be either a String, BigDecimal or Boolean.

Returns

Implemented in Deveel.Data.Sql.Tables.FunctionTable.TableGroupResolver.

Property Documentation

int Deveel.Data.Sql.IGroupResolver.Count
get

Gets the total number of items in this group.

Definition at line 34 of file IGroupResolver.cs.

int Deveel.Data.Sql.IGroupResolver.GroupId
get

A number that uniquely identifies this group from all the others in the set of groups.

Definition at line 29 of file IGroupResolver.cs.


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