Class TableStruct
java.lang.Object
com.illumon.iris.console.utils.pivot.TableStruct
- All Implemented Interfaces:
Deflatable<TableStruct>
@InternalUseOnly public class TableStruct extends Object implements Deflatable<TableStruct>
A container to hold the tables that comprise a
Pivot Widget
-
Field Summary
Fields Modifier and Type Field Description Table
aggregateAcross
Table
aggregateDown
Table
aggregateTotalTotal
Table
filterModelTable
Table
pivotedTable
Table
tableToPivot
-
Constructor Summary
Constructors Constructor Description TableStruct(Table tableToPivot, Table filterModelTable, Table pivotedTable, Table aggregateAcross, Table aggregateDown, Table aggregateTotalTotal)
TableStruct(Table tableToPivot, String[] rows, String columnTitleColumn, String[] valueColumns, String[] filterColumns, LivePivotWidget.Aggregation aggregation, PivotOptions options, Function<Object,Object> colorFormat, Function<Object,Object> columnNameTransform, Map<String,Function<Object,Object>> colorFormats)
-
Method Summary
Modifier and Type Method Description static TableStruct
create(Table tableToPivot, String[] rows, String columnTitleColumn, String[] valueColumns, String[] filterColumns, LivePivotWidget.Aggregation aggregation, PivotOptions options, Function<Object,Object> colorFormat, Function<Object,Object> columnNameTransform)
static TableStruct
create(Table tableToPivot, String[] rows, String columnTitleColumn, String[] valueColumns, String[] filterColumns, LivePivotWidget.Aggregation aggregation, PivotOptions options, Function<Object,Object> colorFormat, Map<String,Function<Object,Object>> colorFormats, Function<Object,Object> columnNameTransform)
Inflatable<TableStruct>
deflate(ExportedObjectClient client)
Convert this object into an Inflatable suitable for serialization.
-
Field Details
-
Constructor Details
-
TableStruct
public TableStruct(Table tableToPivot, String[] rows, String columnTitleColumn, String[] valueColumns, String[] filterColumns, LivePivotWidget.Aggregation aggregation, @NotNull PivotOptions options, Function<Object,Object> colorFormat, Function<Object,Object> columnNameTransform, Map<String,Function<Object,Object>> colorFormats) -
TableStruct
-
-
Method Details
-
deflate
Description copied from interface:Deflatable
Convert this object into an Inflatable suitable for serialization.- Specified by:
deflate
in interfaceDeflatable<TableStruct>
- Parameters:
client
- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-
create
public static TableStruct create(Table tableToPivot, String[] rows, String columnTitleColumn, String[] valueColumns, String[] filterColumns, LivePivotWidget.Aggregation aggregation, @NotNull PivotOptions options, Function<Object,Object> colorFormat, Function<Object,Object> columnNameTransform) -
create
public static TableStruct create(Table tableToPivot, String[] rows, String columnTitleColumn, String[] valueColumns, String[] filterColumns, LivePivotWidget.Aggregation aggregation, @NotNull PivotOptions options, Function<Object,Object> colorFormat, Map<String,Function<Object,Object>> colorFormats, Function<Object,Object> columnNameTransform)
-