Class LoopUtil.GroupData

java.lang.Object
ortus.boxlang.runtime.components.util.LoopUtil.GroupData
Enclosing class:
LoopUtil

public static class LoopUtil.GroupData extends Object
A class to hold the group data for a query loop. There will be one of these for each nested grouped query loop.
  • Constructor Details

  • Method Details

    • getCurrentRow

      public int getCurrentRow()
    • setCurrentRow

      public LoopUtil.GroupData setCurrentRow(int currentRow)
    • 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

      public LoopUtil.GroupData setSameGroup(boolean isSameGroup)
    • calcGroupValuesForRow

      public LoopUtil.GroupData calcGroupValuesForRow()
    • getQuery

      public Query getQuery()
    • hasParentGroup

      public boolean hasParentGroup()
    • getParentGroup

      public LoopUtil.GroupData getParentGroup()
    • hasChildGroup

      public boolean hasChildGroup()
    • setHasChildGroup

      public LoopUtil.GroupData setHasChildGroup()
    • hasGroups

      public boolean hasGroups()