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
Parameter | Type | Description |
---|---|---|
blinkTable | Table | The blink table to convert to an append-only table. |
sizeLimit | long | The maximum number of rows in the resulting append-only table. |
memoKey | Object | Saves a weak reference to the result of the given operation under the given memoization key. Set to |
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)