Class HierarchicalTableView

All Implemented Interfaces:
LogOutputAppendable, LivenessManager, LivenessNode, LivenessReferent, Serializable

public final class HierarchicalTableView extends LivenessArtifact
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:

Instances also store re-usable snapshot states across snapshot invocations.

See Also:
  • Method Details

    • getHierarchicalTable

      public HierarchicalTable<?> getHierarchicalTable()
    • getSnapshotState

      public HierarchicalTable.SnapshotState getSnapshotState()
    • getKeyTable

      public Table getKeyTable()
    • getKeyTableActionColumn

      public ColumnName getKeyTableActionColumn()
    • makeFromHierarchicalTable

      public static HierarchicalTableView makeFromHierarchicalTable(@NotNull @NotNull HierarchicalTable<?> hierarchicalTable, @NotNull @NotNull Table keyTable, @Nullable @Nullable ColumnName keyTableActionColumn)
      Make a new HierarchicalTableView that will snapshot hierarchicalTable according to the expansions described by keyTable.
      Parameters:
      hierarchicalTable - The HierarchicalTable to snapshot
      keyTable - The Table to use for expansion key data
      keyTableActionColumn - The ColumnName of expansion actions, if other than expand.
      Returns:
      The new HierarchicalTableView, which will have a new snapshot state
    • makeFromHierarchicalTable

      public static HierarchicalTableView makeFromHierarchicalTable(@NotNull @NotNull HierarchicalTable<?> hierarchicalTable)
      Make a new HierarchicalTableView that will snapshot hierarchicalTable with only the root expanded.
      Parameters:
      hierarchicalTable - The HierarchicalTable to snapshot
      Returns:
      The new HierarchicalTableView, which will have a new snapshot state
    • makeFromExistingView

      public static HierarchicalTableView makeFromExistingView(@NotNull @NotNull HierarchicalTableView existingView, @NotNull @NotNull Table keyTable, @Nullable @Nullable ColumnName keyTableActionColumn)
      Make a new HierarchicalTableView from an existing one, which will snapshot the existing view's HierarchicalTable according to the expansions described by keyTable.
      Parameters:
      existingView - The existing HierarchicalTableView
      keyTable - The Table to use for expansion key data
      keyTableActionColumn - The ColumnName of expansion actions, if other than expand.
      Returns:
      The new HierarchicalTableView, which will share snapshot state with existing
    • makeFromExistingView

      public static HierarchicalTableView makeFromExistingView(@NotNull @NotNull HierarchicalTableView existingView)
      Make a new HierarchicalTableView from an existing one, which will snapshot the existing view's HierarchicalTable with only the root expanded.
      Parameters:
      existingView - The existing HierarchicalTableView
      Returns:
      The new HierarchicalTableView, which will share snapshot state with existing