| com.mckoi.database.GroupResolver
GroupResolver | public interface GroupResolver (Code) | | Similar to VariableResolver, this method is used by grouping Functions to
find information about the current group being evaluated (used for
evaluating aggregate functions).
author: Tobias Downer |
Method Summary | |
public VariableResolver | getVariableResolver(int set_index) Returns a VariableResolver that can be used to resolve variable in the
get set of the group. | public int | groupID() A number that uniquely identifies this group from all the others in the
set of groups. | public TObject | resolve(Variable variable, int set_index) Returns the value of a variable of a group. | public int | size() The total number of set items in this group. |
getVariableResolver | public VariableResolver getVariableResolver(int set_index)(Code) | | Returns a VariableResolver that can be used to resolve variable in the
get set of the group. The object returned is undefined after the next
call to this method.
|
groupID | public int groupID()(Code) | | A number that uniquely identifies this group from all the others in the
set of groups.
|
resolve | public TObject resolve(Variable variable, int set_index)(Code) | | Returns the value of a variable of a group. 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.
|
size | public int size()(Code) | | The total number of set items in this group.
|
|
|