Package io.deephaven.engine.table.impl
Class TableUpdateImpl
java.lang.Object
io.deephaven.engine.table.impl.TableUpdateImpl
- All Implemented Interfaces:
LogOutputAppendable
,TableUpdate
Implementation of
TableUpdate
.-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionTableUpdateImpl
(RowSet added, RowSet removed, RowSet modified, RowSetShiftData shifted, ModifiedColumnSet modifiedColumnSet) -
Method Summary
Modifier and TypeMethodDescriptionacquire()
Increment the reference count on this object.added()
rows added (post-shift keyspace)static TableUpdateImpl
copy
(@NotNull TableUpdate tableUpdate) Make a deep copy of aTableUpdate
.static TableUpdateImpl
copy
(@NotNull TableUpdate tableUpdate, @NotNull ModifiedColumnSet mcs) Make a deep copy of aTableUpdate
with the givenmcs
.modified()
rows modified (post-shift keyspace)the set of columns that might have changed for rows in themodified()
RowSetvoid
release()
Decrement the reference count on this object.removed()
rows removed (pre-shift keyspace)void
reset()
shifted()
rows that shifted to new indicestoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.TableUpdate
append, empty, forAllModified, valid
-
Field Details
-
added
-
removed
-
modified
-
shifted
-
modifiedColumnSet
-
-
Constructor Details
-
TableUpdateImpl
public TableUpdateImpl() -
TableUpdateImpl
public TableUpdateImpl(RowSet added, RowSet removed, RowSet modified, RowSetShiftData shifted, ModifiedColumnSet modifiedColumnSet)
-
-
Method Details
-
toString
-
acquire
Description copied from interface:TableUpdate
Increment the reference count on this object.- Specified by:
acquire
in interfaceTableUpdate
- Returns:
this
for convenience
-
release
public void release()Description copied from interface:TableUpdate
Decrement the reference count on this object.- Specified by:
release
in interfaceTableUpdate
-
getModifiedPreShift
- Specified by:
getModifiedPreShift
in interfaceTableUpdate
- Returns:
- a cached copy of the modified RowSet in pre-shift keyspace
-
reset
public void reset() -
copy
Make a deep copy of aTableUpdate
. -
copy
public static TableUpdateImpl copy(@NotNull @NotNull TableUpdate tableUpdate, @NotNull @NotNull ModifiedColumnSet mcs) Make a deep copy of aTableUpdate
with the givenmcs
. -
added
Description copied from interface:TableUpdate
rows added (post-shift keyspace)- Specified by:
added
in interfaceTableUpdate
-
removed
Description copied from interface:TableUpdate
rows removed (pre-shift keyspace)- Specified by:
removed
in interfaceTableUpdate
-
modified
Description copied from interface:TableUpdate
rows modified (post-shift keyspace)- Specified by:
modified
in interfaceTableUpdate
-
shifted
Description copied from interface:TableUpdate
rows that shifted to new indices- Specified by:
shifted
in interfaceTableUpdate
-
modifiedColumnSet
Description copied from interface:TableUpdate
the set of columns that might have changed for rows in themodified()
RowSet- Specified by:
modifiedColumnSet
in interfaceTableUpdate
-