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 HierarchicalTableinstance
- The key Tableinformation to be used whensnapshottingtheHierarchicalTable
Instances also store re-usable snapshot states across snapshot invocations.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic PivotTableViewmakeFromExistingView(@NotNull PivotTableView existingView) Make a new PivotTableView from an existing one, which will snapshot the existing view'sPivotTablewith only the root expanded.static PivotTableViewmakeFromExistingView(@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'sPivotTableaccording to the expansions described byrowKeyTableandcolumnKeyTable.static PivotTableViewmakeFromPivotTable(@NotNull PivotTable pivotTable) Make a new PivotTableView that will snapshotpivotTablewith only the roots expanded.static PivotTableViewmakeFromPivotTable(@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 snapshotpivotTableaccording to the expansions described byrowKeyTableandcolumnKeyTable.Methods inherited from class io.deephaven.engine.liveness.LivenessArtifactmanageWithCurrentScopeMethods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessNodegetWeakReference, initializeTransientFieldsForLiveness, onReferenceCountAtZero, tryManage, tryUnmanage, tryUnmanageMethods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessReferentdestroy, dropReference, tryRetainReferenceMethods inherited from class io.deephaven.util.referencecounting.ReferenceCountedappend, decrementReferenceCount, forceReferenceCountToZero, getReferenceCountDebug, incrementReferenceCount, resetReferenceCount, toString, tryDecrementReferenceCount, tryIncrementReferenceCountMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.engine.liveness.LivenessManagermanage, unmanage, unmanageMethods inherited from interface io.deephaven.engine.liveness.LivenessReferentdropReference, getReferentDescription, retainReference, tryRetainReference
- 
Method Details- 
getPivotTable
- 
getSnapshotState
- 
getRowKeyTable
- 
getColumnKeyTable
- 
getOutputColumns
- 
getRowKeyTableActionColumn
- 
getColumnKeyTableActionColumn
- 
makeFromPivotTablepublic 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 snapshotpivotTableaccording to the expansions described byrowKeyTableandcolumnKeyTable.- Parameters:
- pivotTable- The- PivotTableto snapshot
- rowKeyTable- The- Tableto use for row expansion key data
- columnKeyTable- The- Tableto use for column expansion key data
- rowKeyTableActionColumn- The- ColumnNameof row expansion actions, if other than- expand.
- columnKeyTableActionColumn- The- ColumnNameof column expansion actions, if other than- expand.
- outputColumns-
- Returns:
- The new PivotTableView, which will have a new snapshot state
 
- 
makeFromPivotTableMake a new PivotTableView that will snapshotpivotTablewith only the roots expanded.- Parameters:
- pivotTable- The- PivotTableto snapshot
- Returns:
- The new HierarchicalTableView, which will have a new snapshot state
 
- 
makeFromExistingViewpublic 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'sPivotTableaccording to the expansions described byrowKeyTableandcolumnKeyTable.- Parameters:
- existingView- The existing PivotTable
- rowKeyTable- The- Tableto use for row expansion key data
- columnKeyTable- The- Tableto use for column expansion key data
- rowKeyTableActionColumn- The- ColumnNameof row expansion actions, if other than- expand.
- columnKeyTableActionColumn- The- ColumnNameof column expansion actions, if other than- expand.
- Returns:
- The new PivotTableView, which will share snapshot statewithexisting
 
- 
makeFromExistingViewMake a new PivotTableView from an existing one, which will snapshot the existing view'sPivotTablewith only the root expanded.- Parameters:
- existingView- The existing PivotTable
- Returns:
- The new PivotTableView, which will share snapshot statewithexisting
 
 
-