deephaven.stream

Utility module for the stream subpackage.

Creates a blink table from the given add-only table. The blink table contains the rows added in the latest update cycle.

Note that the use of this function should be limited to add-only tables that are not fully in-memory, or when blink table specific aggregation semantics are desired. If the table is fully in-memory, creating a downstream blink table is not recommended because it doesn’t achieve the main benefit of blink tables, which is to reduce memory usage but instead increases memory usage.

Parameters:

table (Table) – the source table

Return type:

Table

Returns:

a blink table

Raises:

DHError

Creates an ‘append only’ table from the blink table.

Parameters:

table (Table) – a blink table

Return type:

Table

Returns:

an append-only table

Raises:

DHError

stream_to_append_only(table)[source]

Deprecated synonym for blink_to_append_only

Return type:

Table