Skip to main content
Version: Java (Groovy)

blinkToAppendOnly

The BlinkTableTools.blinkToAppendOnly method creates an append-only table from the supplied blink table.

Syntax

import io.deephaven.engine.table.impl.BlinkTableTools

BlinkTableTools.blinkToAppendOnly(blinkTable)
BlinkTableTools.blinkToAppendOnly(blinkTable, sizeLimit)
BlinkTableTools.blinkToAppendOnly(blinkTable, memoKey)
BlinkTableTools.blinkToAppendOnly(blinkTable, sizeLimit, memoKey)

Parameters

ParameterTypeDescription
blinkTableTable

The blink table to convert to an append-only table.

sizeLimitlong

The maximum number of rows in the resulting append-only table.

memoKeyObject

Saves a weak reference to the result of the given operation under the given memoization key. Set to null to disable memoization.

Returns

An append-only table.

Example

The following example creates a blink table with a TimeTable.Builder and then converts the blink table to an append-only table with blinkToAppendOnly.

import io.deephaven.engine.table.impl.TimeTable.Builder
import io.deephaven.engine.table.impl.BlinkTableTools

builder = new Builder().period("PT2S").blinkTable(true)

tt1 = builder.build()

appendOnlyResult = BlinkTableTools.blinkToAppendOnly(tt1)

img