Class PivotOptions
java.lang.Object
com.illumon.iris.console.utils.pivot.PivotOptions
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LivePivotWidget.Options
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
boolean
int
int
boolean
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDecimalFormat
(PivotRole role, String valueColumnName) Get the decimal format for the specified value column and role.getIntegerFormat
(PivotRole role, String valueColumnName) Get the integer format for the specified value column and role.protected Format
maybeGetLegacyFormat
(PivotRole role, boolean isDecimal) Get any legacy formats.void
overrideDecimalFormat
(PivotRole role, String valueColumnName, Format format) void
overrideIntegerFormat
(PivotRole role, String valueColumnName, Format format) void
setDecimalFormat
(PivotRole role, String valueColumnName, String format) void
setDefaultDecimalFormat
(PivotRole role, String format) void
setDefaultIntegerFormat
(PivotRole role, String format) void
setIntegerFormat
(PivotRole role, String valueColumnName, String format)
-
Field Details
-
aggregateAcross
public boolean aggregateAcross -
aggregateDown
public boolean aggregateDown -
totalsAggregation
-
sortColumnsBy
-
sortColumns
public int sortColumns -
fixedTotalColumn
public boolean fixedTotalColumn -
sortRows
public int sortRows -
sortRowsBy
-
sortRowsByName
-
heatMap
public boolean heatMap -
useColorFormat
public boolean useColorFormat -
colorRowColumns
public boolean colorRowColumns -
useColumnNameTransform
public boolean useColumnNameTransform -
heatMapMinColor
-
heatMapMaxColor
-
filterFetchSizes
-
-
Constructor Details
-
PivotOptions
public PivotOptions()
-
-
Method Details
-
getIntegerFormat
Get the integer format for the specified value column and role. If none was specified via header menus or builder then the default one is used.- Parameters:
role
- the role to get the integer format forvalueColumnName
- the value column being rendered- Returns:
- the format
-
getDecimalFormat
Get the decimal format for the specified value column and role. If none was specified via header menus or builder then the default one is used.- Parameters:
role
- the role to get the integer format forvalueColumnName
- the value column being rendered- Returns:
- the format
-
setDefaultIntegerFormat
-
setDefaultDecimalFormat
-
setIntegerFormat
-
setDecimalFormat
-
overrideIntegerFormat
-
overrideDecimalFormat
-
maybeGetLegacyFormat
@Nullable protected Format maybeGetLegacyFormat(@NotNull PivotRole role, @NotNull boolean isDecimal) Get any legacy formats. This method should be deleted whenLivePivotWidget.Options
is deleted.- Parameters:
role
- the pivot roleisDecimal
- is it a decimal format?- Returns:
- the format, or null.
-