Package io.deephaven.engine.table.impl
Class BlinkTableTools
java.lang.Object
io.deephaven.engine.table.impl.BlinkTableTools
Tools for manipulating blink tables.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Table
blinkToAppendOnly
(@NotNull Table blinkTable, long sizeLimit) Convert a Blink Table to an in-memory append only table with a limit on maximum size.static Table
blinkToAppendOnly
(@NotNull Table blinkTable, @Nullable Object memoKey) Convert a Blink Table to an in-memory append only table.static Table
blinkToAppendOnly
(Table blinkTable) Convert a Blink Table to an in-memory append only table.static Table
blinkToAppendOnly
(Table blinkTable, long sizeLimit, @Nullable Object memoKey) Convert a Blink Table to an in-memory append only table with a limit on maximum size.static boolean
Returns true ifattributes
indicate a blink table.static boolean
Returns true iftable
is a blink table.
-
Field Details
-
DEFAULT_MEMO_KEY
-
-
Constructor Details
-
BlinkTableTools
public BlinkTableTools()
-
-
Method Details
-
blinkToAppendOnly
Convert a Blink Table to an in-memory append only table.Note, this table will grow without bound as new blink table rows are encountered. The result is memoized under
DEFAULT_MEMO_KEY
.- Parameters:
blinkTable
- The input blink table- Returns:
- An append-only in-memory table representing all data encountered in the blink table across all cycles
-
blinkToAppendOnly
public static Table blinkToAppendOnly(@NotNull @NotNull Table blinkTable, @Nullable @Nullable Object memoKey) Convert a Blink Table to an in-memory append only table.Note, this table will grow without bound as new blink table rows are encountered.
- Parameters:
blinkTable
- The input blink tablememoKey
- saves a weak reference to the result of the given operation under the given memoization key (null to disable memoization)- Returns:
- An append-only in-memory table representing all data encountered in the blink table across all cycles
-
blinkToAppendOnly
Convert a Blink Table to an in-memory append only table with a limit on maximum size. Any updates beyond that limit won't be appended to the table.The result is memoized under
DEFAULT_MEMO_KEY
.- Parameters:
blinkTable
- The input blink tablesizeLimit
- The maximum number of rows in the append-only table- Returns:
- An append-only in-memory table representing all data encountered in the blink table across all cycles till maximum row count
-
blinkToAppendOnly
public static Table blinkToAppendOnly(Table blinkTable, long sizeLimit, @Nullable @Nullable Object memoKey) Convert a Blink Table to an in-memory append only table with a limit on maximum size. Any updates beyond that limit won't be appended to the table.- Parameters:
blinkTable
- The input blink tablesizeLimit
- The maximum number of rows in the append-only tablememoKey
- saves a weak reference to the result of the given operation under the given size limit and memoization key (null to disable memoization)- Returns:
- An append-only in-memory table representing all data encountered in the blink table across all cycles till maximum row count
-
isBlink
Returns true iftable
is a blink table.- Parameters:
table
- The table to check for blink behavior- Returns:
- Whether
table
is a blink table - See Also:
-
hasBlink
Returns true ifattributes
indicate a blink table.- Parameters:
attributes
- The map to check for blink table attributes- Returns:
- Whether
attributes
indicate a blink table - See Also:
-