Class ConstituentDependency

java.lang.Object
io.deephaven.engine.table.impl.ConstituentDependency
All Implemented Interfaces:
LogOutputAppendable, NotificationQueue.Dependency

public class ConstituentDependency extends Object implements NotificationQueue.Dependency
A ConstituentDependency is used to establish a dependency relationship between a table and the constituent tables (or table-like things) that fill its columns.
  • Method Details

    • install

      public static void install(@NotNull @NotNull Table result, @NotNull @NotNull NotificationQueue.Dependency resultUpdatedDependency)
      If result has any columns of dependencies, construct and install a ConstituentDependency as a parent.
      Parameters:
      result - The result Table that may contain columns of constituent dependencies
      resultUpdatedDependency - A parent dependency used to determine if the result table is done updating for this cycle. This is typically the InstrumentedTableListenerBase or MergedListener responsible for maintaining the result table, which will be satisfied if it has processed its notification or if it will never fire on this cycle.
    • getUpdateGraph

      public UpdateGraph getUpdateGraph()
      Specified by:
      getUpdateGraph in interface NotificationQueue.Dependency
      Returns:
      the update graph that this dependency is a part of
    • append

      public LogOutput append(@NotNull @NotNull LogOutput logOutput)
      Specified by:
      append in interface LogOutputAppendable
    • satisfied

      public boolean satisfied(long step)
      Description copied from interface: NotificationQueue.Dependency
      Is this ancestor satisfied? Note that this method must be safe to call on any thread.
      Specified by:
      satisfied in interface NotificationQueue.Dependency
      Parameters:
      step - The step for which we are testing satisfaction
      Returns:
      Whether the dependency is satisfied on step (and will not fire subsequent notifications)