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 Summary
Modifier 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.LivenessArtifact
manageWithCurrentScopeMethods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessNode
getWeakReference, initializeTransientFieldsForLiveness, onReferenceCountAtZero, tryManage, tryUnmanage, tryUnmanageMethods inherited from class io.deephaven.engine.liveness.ReferenceCountedLivenessReferent
destroy, dropReference, tryRetainReferenceMethods inherited from class io.deephaven.util.referencecounting.ReferenceCounted
append, decrementReferenceCount, forceReferenceCountToZero, getReferenceCountDebug, incrementReferenceCount, resetReferenceCount, toString, tryDecrementReferenceCount, tryIncrementReferenceCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.engine.liveness.LivenessManager
manage, unmanage, unmanageMethods 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 snapshotpivotTableaccording to the expansions described byrowKeyTableandcolumnKeyTable.- Parameters:
pivotTable- ThePivotTableto snapshotrowKeyTable- TheTableto use for row expansion key datacolumnKeyTable- TheTableto use for column expansion key datarowKeyTableActionColumn- TheColumnNameof row expansion actions, if other thanexpand.columnKeyTableActionColumn- TheColumnNameof 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 snapshotpivotTablewith only the roots expanded.- Parameters:
pivotTable- ThePivotTableto 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'sPivotTableaccording to the expansions described byrowKeyTableandcolumnKeyTable.- Parameters:
existingView- The existing PivotTablerowKeyTable- TheTableto use for row expansion key datacolumnKeyTable- TheTableto use for column expansion key datarowKeyTableActionColumn- TheColumnNameof row expansion actions, if other thanexpand.columnKeyTableActionColumn- TheColumnNameof column expansion actions, if other thanexpand.- Returns:
- The new PivotTableView, which will share
snapshot statewithexisting
-
makeFromExistingView
Make 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
-