[]
Use this class to configure the numeric range and interval used by IPivotField.group(PivotFieldNumberGroupOptions). By default, the group range is determined from the PivotCache and the interval is 1.
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoStart(false);
options.setAutoEnd(false);
options.setStart(10348d);
options.setEnd(10407d);
options.setInterval(20);
double interval = options.getInterval();
booleangetEnd().booleangetStart().getEnd()doublegetStart()voidsetAutoEnd(boolean value) getEnd().voidsetAutoStart(boolean value) getStart().voidvoidsetInterval(double value) voidWhen getAutoStart() is true, this value is ignored and the first number is determined from the PivotCache.
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoStart(false);
options.setStart(0d);
Double start = options.getStart();
null if no explicit start value is set.When getAutoStart() is true, this value is ignored and the first number is determined from the PivotCache.
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoStart(false);
options.setStart(0d);
Double start = options.getStart();
value - The first number included in the grouped range. Use null to clear the explicit start value.Generated buckets are left-closed and right-open. When getAutoEnd() is true, this value is ignored and the last number is determined from the PivotCache.
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoEnd(false);
options.setEnd(100d);
Double end = options.getEnd();
null if no explicit end value is set.Generated buckets are left-closed and right-open. When getAutoEnd() is true, this value is ignored and the last number is determined from the PivotCache.
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoEnd(false);
options.setEnd(100d);
Double end = options.getEnd();
value - The ending number used to derive the grouped range. Use null to clear the explicit end value.getStart().
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoStart(false);
boolean autoStart = options.getAutoStart();
true if the first number is determined from the PivotCache instead of getStart(); otherwise, false.getStart().
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoStart(false);
boolean autoStart = options.getAutoStart();
value - true to determine the first number from the PivotCache; false to use the value set by setStart(Double). When this is false, a start value is required when grouping is applied.getEnd().
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoEnd(false);
boolean autoEnd = options.getAutoEnd();
true if the last number is determined from the PivotCache instead of getEnd(); otherwise, false.getEnd().
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setAutoEnd(false);
boolean autoEnd = options.getAutoEnd();
value - true to determine the last number from the PivotCache; false to use the value set by setEnd(Double). When this is false, an end value is required when grouping is applied.
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setInterval(10);
double interval = options.getInterval();
1.The interval must be greater than 0 and finite when grouping is applied. The effective start value must also be less than the effective end value.
PivotFieldNumberGroupOptions options = new PivotFieldNumberGroupOptions();
options.setInterval(10);
double interval = options.getInterval();
value - The numeric interval used to create each generated group.