Package io.deephaven.pivot
Class PivotTableView
- All Implemented Interfaces:
LogOutputAppendable
,LivenessManager
,LivenessNode
,LivenessReferent
,Serializable
Server-side "view" object representing a client's snapshot target for HierarchicalTable data.
Instances associate two different kinds of information to fully describe the view:
- The
HierarchicalTable
instance - The key
Table
information to be used whensnapshotting
theHierarchicalTable
Instances also store re-usable snapshot states across snapshot invocations.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic PivotTableView
makeFromExistingView
(@NotNull PivotTableView existingView) Make a new PivotTableView from an existing one, which will snapshot the existing view'sPivotTable
with only the root expanded.static PivotTableView
makeFromExistingView
(@NotNull PivotTableView existingView, @NotNull Table rowKeyTable, @NotNull Table columnKeyTable, @Nullable ColumnName rowKeyTableActionColumn, @Nullable ColumnName columnKeyTableActionColumn, @NotNull List<ColumnName> outputColumns) Make a new PivotTableView from an existing one, which will snapshot the existing view'sPivotTable
according to the expansions described byrowKeyTable
andcolumnKeyTable
.static PivotTableView
makeFromPivotTable
(@NotNull PivotTable pivotTable) Make a new PivotTableView that will snapshotpivotTable
with only the roots expanded.static PivotTableView
makeFromPivotTable
(@NotNull PivotTable pivotTable, @NotNull Table rowKeyTable, @NotNull Table columnKeyTable, @Nullable ColumnName rowKeyTableActionColumn, @Nullable ColumnName columnKeyTableActionColumn, @NotNull List<ColumnName> outputColumns) Make a new PivotTableView that will snapshotpivotTable
according to the expansions described byrowKeyTable
andcolumnKeyTable
.Methods inherited from class io.deephaven.engine.liveness.LivenessArtifact
manageWithCurrentScope
Methods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessNode
getWeakReference, initializeTransientFieldsForLiveness, onReferenceCountAtZero, tryManage, tryUnmanage, tryUnmanage
Methods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessReferent
destroy, dropReference, tryRetainReference
Methods inherited from class io.deephaven.util.referencecounting.ReferenceCounted
append, decrementReferenceCount, forceReferenceCountToZero, getReferenceCountDebug, incrementReferenceCount, resetReferenceCount, toString, tryDecrementReferenceCount, tryIncrementReferenceCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.engine.liveness.LivenessManager
manage, unmanage, unmanage
Methods inherited from interface io.deephaven.engine.liveness.LivenessReferent
dropReference, getReferentDescription, retainReference, tryRetainReference
-
Method Details
-
getPivotTable
-
getSnapshotState
-
getRowKeyTable
-
getColumnKeyTable
-
getOutputColumns
-
getRowKeyTableActionColumn
-
getColumnKeyTableActionColumn
-
makeFromPivotTable
public static PivotTableView makeFromPivotTable(@NotNull @NotNull PivotTable pivotTable, @NotNull @NotNull Table rowKeyTable, @NotNull @NotNull Table columnKeyTable, @Nullable @Nullable ColumnName rowKeyTableActionColumn, @Nullable @Nullable ColumnName columnKeyTableActionColumn, @NotNull @NotNull List<ColumnName> outputColumns) Make a new PivotTableView that will snapshotpivotTable
according to the expansions described byrowKeyTable
andcolumnKeyTable
.- Parameters:
pivotTable
- ThePivotTable
to snapshotrowKeyTable
- TheTable
to use for row expansion key datacolumnKeyTable
- TheTable
to use for column expansion key datarowKeyTableActionColumn
- TheColumnName
of row expansion actions, if other thanexpand
.columnKeyTableActionColumn
- TheColumnName
of column expansion actions, if other thanexpand
.outputColumns
-- Returns:
- The new PivotTableView, which will have a new
snapshot state
-
makeFromPivotTable
Make a new PivotTableView that will snapshotpivotTable
with only the roots expanded.- Parameters:
pivotTable
- ThePivotTable
to snapshot- Returns:
- The new HierarchicalTableView, which will have a new
snapshot state
-
makeFromExistingView
public static PivotTableView makeFromExistingView(@NotNull @NotNull PivotTableView existingView, @NotNull @NotNull Table rowKeyTable, @NotNull @NotNull Table columnKeyTable, @Nullable @Nullable ColumnName rowKeyTableActionColumn, @Nullable @Nullable ColumnName columnKeyTableActionColumn, @NotNull @NotNull List<ColumnName> outputColumns) Make a new PivotTableView from an existing one, which will snapshot the existing view'sPivotTable
according to the expansions described byrowKeyTable
andcolumnKeyTable
.- Parameters:
existingView
- The existing PivotTablerowKeyTable
- TheTable
to use for row expansion key datacolumnKeyTable
- TheTable
to use for column expansion key datarowKeyTableActionColumn
- TheColumnName
of row expansion actions, if other thanexpand
.columnKeyTableActionColumn
- TheColumnName
of column expansion actions, if other thanexpand
.- Returns:
- The new PivotTableView, which will share
snapshot state
withexisting
-
makeFromExistingView
Make a new PivotTableView from an existing one, which will snapshot the existing view'sPivotTable
with only the root expanded.- Parameters:
existingView
- The existing PivotTable- Returns:
- The new PivotTableView, which will share
snapshot state
withexisting
-