Class CompiledDepths


  • public class CompiledDepths
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CompiledDepths​(java.util.List<Field> fields, boolean showDetail)  
    • Method Summary

      Modifier and Type Method Description
      int[] getDepths()
      An array of all field depths.
      int getMaxDepth()  
      int getMaxGroupDepth()
      This is the maximum depth of grouping, 0 based
      boolean hasGroupBy()
      True if one of more fields are grouped.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CompiledDepths

        public CompiledDepths​(java.util.List<Field> fields,
                              boolean showDetail)
    • Method Detail

      • getMaxGroupDepth

        public int getMaxGroupDepth()
        This is the maximum depth of grouping, 0 based
        Returns:
        The maximum depth for all groups.
      • getMaxDepth

        public int getMaxDepth()
        Returns:
        The maximum depth (can be equal to max group depth or max group depth + 1 if showing detail).
      • getDepths

        public int[] getDepths()
        An array of all field depths.
        Returns:
        Get an array of depths for all fields.
      • hasGroupBy

        public boolean hasGroupBy()
        True if one of more fields are grouped.
        Returns:
        True if one of more fields are grouped.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object