Package io.keikai.model
Interface SPivotFieldGrouping
- All Known Implementing Classes:
PivotFieldGroupingImpl
public interface SPivotFieldGrouping
Represents grouping settings for a pivot cache field.
- Since:
- 7.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the end value for numeric grouping.doubleReturns the interval for numeric grouping.doubleReturns the start value for numeric grouping.booleanReturns whether this is a date-based grouping.booleanReturns whether grouping by days is enabled.booleanReturns whether grouping by hours is enabled.booleanReturns whether grouping by minutes is enabled.booleanReturns whether grouping by months is enabled.booleanReturns whether grouping by quarters is enabled.booleanReturns whether grouping by seconds is enabled.booleanReturns whether grouping by years is enabled.booleanReturns whether this is a numeric-range grouping.
-
Method Details
-
isDateGrouping
boolean isDateGrouping()Returns whether this is a date-based grouping.- Returns:
- true if date grouping
-
isNumericGrouping
boolean isNumericGrouping()Returns whether this is a numeric-range grouping.- Returns:
- true if numeric grouping
-
getStartNum
double getStartNum()Returns the start value for numeric grouping.- Returns:
- the start number
-
getEndNum
double getEndNum()Returns the end value for numeric grouping.- Returns:
- the end number
-
getGroupInterval
double getGroupInterval()Returns the interval for numeric grouping.- Returns:
- the group interval
-
isGroupByYears
boolean isGroupByYears()Returns whether grouping by years is enabled.- Returns:
- true if grouping by years
-
isGroupByQuarters
boolean isGroupByQuarters()Returns whether grouping by quarters is enabled.- Returns:
- true if grouping by quarters
-
isGroupByMonths
boolean isGroupByMonths()Returns whether grouping by months is enabled.- Returns:
- true if grouping by months
-
isGroupByDays
boolean isGroupByDays()Returns whether grouping by days is enabled.- Returns:
- true if grouping by days
-
isGroupByHours
boolean isGroupByHours()Returns whether grouping by hours is enabled.- Returns:
- true if grouping by hours
-
isGroupByMinutes
boolean isGroupByMinutes()Returns whether grouping by minutes is enabled.- Returns:
- true if grouping by minutes
-
isGroupBySeconds
boolean isGroupBySeconds()Returns whether grouping by seconds is enabled.- Returns:
- true if grouping by seconds
-