Class RowSetShiftDataExpander
java.lang.Object
io.deephaven.engine.table.impl.util.RowSetShiftDataExpander
- All Implemented Interfaces:
SafeCloseable
,AutoCloseable
Converts
table updates
used for standard table
update listeners
's into row sets
compatible with legacy-style
shift-oblivious listeners
by expanding keyspace shifts.
Using this is almost always less efficient than using the TableUpdate
directly.-
Field Summary
Modifier and TypeFieldDescriptionstatic final RowSetShiftDataExpander
Immutable, re-usableRowSetShiftDataExpander
for an empty set of changes. -
Constructor Summary
ConstructorDescriptionRowSetShiftDataExpander
(TableUpdate update, TrackingRowSet sourceRowSet) Generates the backwards compatible ARM from an ARMS update. -
Method Summary
-
Field Details
-
EMPTY
Immutable, re-usableRowSetShiftDataExpander
for an empty set of changes.
-
-
Constructor Details
-
RowSetShiftDataExpander
Generates the backwards compatible ARM from an ARMS update.- Parameters:
update
- The upstream update.
-
-
Method Details
-
getAdded
Fetch the resulting RowSet of added values.- Returns:
- added RowSet
-
getRemoved
Fetch the resulting RowSet of removed values.- Returns:
- removed RowSet
-
getModified
Fetch the resulting RowSet of modified values.- Returns:
- modified RowSet
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
-