Class WorkspaceDataSnapshot
java.lang.Object
io.deephaven.enterprise.workspace.WorkspaceDataSnapshot
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringGets the partition value of the latest Snapshot, if anygetWorkspaceDataFiltered(boolean live, @Nullable Collection<Filter> preAggFilters) Gets the most recent table representing the WorkspaceData, where supplied filters are applied prior to the sortedLastBy aggregation.Gets the most recent table representing the WorkspaceData, including live data.getWorkspaceDataUnfiltered(boolean live) Gets the most recent table representing the WorkspaceData.
-
Field Details
-
log
-
WDS_NAMESPACE
- See Also:
-
WDS_TBL_SNAPSHOT
- See Also:
-
WD_TABLE_NAME
- See Also:
-
db
-
latestSnapshot
-
latestSnapshotDate
-
WD_PARTITION_COLUMN
- See Also:
-
-
Constructor Details
-
WorkspaceDataSnapshot
- 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 staticpreAggFilters- 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
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
Gets the most recent table representing the WorkspaceData, including live data.- Returns:
- the most recent WorkspaceData
-
getLatestSnapshotDate
Gets the partition value of the latest Snapshot, if any- Returns:
- the partition value of the latest Snapshot, else null
-