Class WorkspaceDataSnapshot

java.lang.Object
io.deephaven.enterprise.workspace.WorkspaceDataSnapshot

public class WorkspaceDataSnapshot extends Object
  • Field Details

    • db

      protected final Database db
    • log

      protected final Logger log
    • latestSnapshot

      protected Table latestSnapshot
    • latestSnapshotDate

      protected String latestSnapshotDate
  • Constructor Details

    • WorkspaceDataSnapshot

      public WorkspaceDataSnapshot(@Nullable @Nullable Logger log, @NotNull @NotNull Database db)
      Parameters:
      log - a Logger
      db - reference to the Database to use
    • WorkspaceDataSnapshot

      public WorkspaceDataSnapshot(@NotNull @NotNull Database db)
      Parameters:
      db - reference to the Database to use
  • Method Details

    • getWorkspaceDataFiltered

      public Table getWorkspaceDataFiltered(boolean live, @Nullable @Nullable Collection<Filter> preAggFilters)
      Gets the most recent table representing the WorkspaceData, where supplied filters are applied prior to the sortedLastBy aggregation.
      Parameters:
      live - identifies if the intraday table should be live or static
      preAggFilters - filters to apply prior to the sortedLastBy aggregation
      Returns:
      the most recent WorkspaceData, where filters may have been applies prior to the sortedLastBy aggregation
    • getWorkspaceDataFiltered

      public Table getWorkspaceDataFiltered(@Nullable @Nullable Collection<Filter> preAggFilters)
      Gets the most recent live table representing the WorkspaceData, where supplied filters are applied prior to the sortedLastBy aggregation.
      Parameters:
      preAggFilters - filters to apply prior to the sortedLastBy aggregation
      Returns:
      the most recent live WorkspaceData, where filters have been applies prior to the sortedLastBy aggregation
    • getWorkspaceDataUnfiltered

      public Table getWorkspaceDataUnfiltered(boolean live)
      Gets the most recent table representing the WorkspaceData.
      Parameters:
      live - identifies if the intraday table should be live or static
      Returns:
      the most recent WorkspaceData
    • getWorkspaceDataUnfiltered

      public Table getWorkspaceDataUnfiltered()
      Gets the most recent live table representing the WorkspaceData.
      Returns:
      the most recent live WorkspaceData