Class WorkspaceDataSnapshot

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

public class WorkspaceDataSnapshot extends Object
  • Field Details

  • Constructor Details

    • 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
    • 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 table representing the WorkspaceData, including live data.
      Returns:
      the most recent WorkspaceData
    • getLatestSnapshotDate

      @Nullable public @Nullable String getLatestSnapshotDate()
      Gets the partition value of the latest Snapshot, if any
      Returns:
      the partition value of the latest Snapshot, else null