Class LoopUtil.GroupData
java.lang.Object
ortus.boxlang.runtime.components.util.LoopUtil.GroupData
- Enclosing class:
LoopUtil
A class to hold the group data for a query loop. There will be one of these
for each nested grouped query loop.
-
Constructor Summary
ConstructorsConstructorDescriptionGroupData(Key[] groupKeys, boolean groupCaseSensitive, Query query, LoopUtil.GroupData parentGroup) -
Method Summary
Modifier and TypeMethodDescriptionintgetQuery()booleanbooleanbooleanbooleanbooleanIs my level and all my parents the same group?setCurrentRow(int currentRow) setSameGroup(boolean isSameGroup)
-
Constructor Details
-
GroupData
public GroupData(Key[] groupKeys, boolean groupCaseSensitive, Query query, LoopUtil.GroupData parentGroup)
-
-
Method Details
-
getCurrentRow
public int getCurrentRow() -
setCurrentRow
-
isSameGroup
public boolean isSameGroup() -
isSameGroupAggregate
public boolean isSameGroupAggregate()Is my level and all my parents the same group?- Returns:
- true if this group and all parent groups are the same
-
setSameGroup
-
calcGroupValuesForRow
-
getQuery
-
hasParentGroup
public boolean hasParentGroup() -
getParentGroup
-
hasChildGroup
public boolean hasChildGroup() -
setHasChildGroup
-
hasGroups
public boolean hasGroups()
-