Package stroom.query.common.v2
Class CompiledDepths
- java.lang.Object
-
- stroom.query.common.v2.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 basedboolean
hasGroupBy()
True if one of more fields are grouped.java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
-