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 TypeFieldDescriptionbooleanbooleanbooleanbooleanbooleanintintbooleanboolean -
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 FormatmaybeGetLegacyFormat(PivotRole role, boolean isDecimal) Get any legacy formats.voidoverrideDecimalFormat(PivotRole role, String valueColumnName, Format format) voidoverrideIntegerFormat(PivotRole role, String valueColumnName, Format format) voidsetDecimalFormat(PivotRole role, String valueColumnName, String format) voidsetDefaultDecimalFormat(PivotRole role, String format) voidsetDefaultIntegerFormat(PivotRole role, String format) voidsetIntegerFormat(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.Optionsis deleted.- Parameters:
role- the pivot roleisDecimal- is it a decimal format?- Returns:
- the format, or null.
-