add_only_to_blink

The add_only_to_blink method creates a blink table from the supplied add-only or append-only table. The blink table contains the rows added in the latest update cycle.

Note

Use this function only on add-only or append-only tables that are not fully in memory, or when you want blink table aggregation semantics. Creating a downstream blink table from a table that is fully in memory is not recommended. It does not achieve the main benefit of blink tables, which is lower memory use. Instead, it increases memory use.

Syntax

Parameters

ParameterTypeDescription
tableTable

The add-only or append-only table to convert to a blink table. The table must be refreshing.

Returns

A blink table.

Example

The following example creates an append-only table with time_table and then converts it to a blink table with add_only_to_blink. This example uses add_only_to_blink on an in-memory table, which is not recommended, but it illustrates the syntax of the method.

The above tt1 and blink_result tables ticking side-by-side in the Deephaven console