|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object isql.groupby.Groups
public class Groups
Contains the groups coming from the "group by" clause. The groups are represented as a map that, for each group, maps the values that are constant in the group to the indices of the view lines that are in that group.
Constructor Summary | |
---|---|
Groups(ColumnKeyAndType[] arrColumnDef)
|
Method Summary | |
---|---|
void |
add(GroupKey key,
int rowIndex)
The given row index has to be part of the given group |
Array |
getGroupByColumnValues(ColumnKey key)
Returns an array with the rows index that are contained in the group, in the order they was found in the original set of columns |
java.util.List<GroupKey> |
getGroupKeysInOriginalOrder()
|
java.util.List<java.lang.Integer> |
getIndicesForGroupKey(GroupKey key)
|
boolean |
isGroupByColumnKey(ColumnKey toTest)
Tests if a column is a group by column, i.e. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Groups(ColumnKeyAndType[] arrColumnDef)
Method Detail |
---|
public void add(GroupKey key, int rowIndex)
key
- rowIndex
- public boolean isGroupByColumnKey(ColumnKey toTest)
toTest
- the identifier of the column
public Array getGroupByColumnValues(ColumnKey key) throws ISQLException
key
- the column identifier
ISQLException
public java.util.List<java.lang.Integer> getIndicesForGroupKey(GroupKey key)
public java.util.List<GroupKey> getGroupKeysInOriginalOrder()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |