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(@NotNull PivotRole role, @NotNull String valueColumnName) Get the decimal format for the specified value column and role.getIntegerFormat(@NotNull PivotRole role, @NotNull String valueColumnName) Get the integer format for the specified value column and role.protected @Nullable FormatmaybeGetLegacyFormat(@NotNull PivotRole role, @org.jetbrains.annotations.NotNull boolean isDecimal) Get any legacy formats.voidoverrideDecimalFormat(@NotNull PivotRole role, @NotNull String valueColumnName, @Nullable Format format) voidoverrideIntegerFormat(@NotNull PivotRole role, @NotNull String valueColumnName, @Nullable Format format) voidsetDecimalFormat(@NotNull PivotRole role, @NotNull String valueColumnName, @NotNull String format) voidsetDefaultDecimalFormat(@NotNull PivotRole role, @NotNull String format) voidsetDefaultIntegerFormat(@NotNull PivotRole role, @NotNull String format) voidsetIntegerFormat(@NotNull PivotRole role, @NotNull String valueColumnName, @NotNull 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
public Format getIntegerFormat(@NotNull @NotNull PivotRole role, @NotNull @NotNull String valueColumnName) 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
public Format getDecimalFormat(@NotNull @NotNull PivotRole role, @NotNull @NotNull String valueColumnName) 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 @Nullable Format maybeGetLegacyFormat(@NotNull @NotNull PivotRole role, @NotNull @org.jetbrains.annotations.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.
-