Method
OmniPipelineSnapshotget_stream_watermark_time
Declaration
OmniTime
omni_pipeline_snapshot_get_stream_watermark_time (
OmniPipelineSnapshot* self,
OmniPhysStreamId* stream_id,
OmniTime scan_start
)
Description
Get the partial watermark time (WT) of a given stream.
Given a scan starting point scan_start, The partial watermark time
of a stream S, WT(S, scan_start), is defined as follows:
-
The maximum value of
tsuch that rangescan_start..thas been materialized (i.e.,scan_start..t ⊆ mSTR). -
Or equivalently, the smallest member of
([t', INT64_MAX] ∖ mSTR) ∪ {INT64_MAX}.
For a complete stream (where the entire time range has reached the final
state), it is equal to INT64_MAX.
The stream must be included in the pipeline snapshot.
Parameters
stream_id-
Type:
OmniPhysStreamIdNo description available.
The data is owned by the caller of the method. scan_start-
Type:
OmniTimeNo description available.
Return value
Type: OmniTime
No description available.