Class TableStruct
java.lang.Object
com.illumon.iris.console.utils.pivot.TableStruct
- All Implemented Interfaces:
Deflatable<TableStruct>
A container to hold the tables that comprise a
Pivot Widget-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionTableStruct(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 TypeMethodDescriptionvoidclose()static TableStructcreate(Table tableToPivot, String[] rows, String columnTitleColumn, String[] valueColumns, String[] filterColumns, LivePivotWidget.Aggregation aggregation, PivotOptions options, Function<Object, Object> colorFormat, Function<Object, Object> columnNameTransform) static TableStructcreate(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) deflate(ExportedObjectClient client) Convert this object into an Inflatable suitable for serialization.
-
Field Details
-
tableToPivot
-
filterModelTable
-
pivotedTable
-
aggregateAcross
-
aggregateDown
-
aggregateTotalTotal
-
-
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
-
close
public void close() -
deflate
Description copied from interface:DeflatableConvert this object into an Inflatable suitable for serialization.- Specified by:
deflatein 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)
-