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
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionTableUpdateImpl(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 TableUpdateImplcopy(@NotNull TableUpdate tableUpdate) Make a deep copy of aTableUpdate.modified()rows modified (post-shift keyspace)the set of columns that might have changed for rows in themodified()RowSetvoidrelease()Decrement the reference count on this object.removed()rows removed (pre-shift keyspace)voidreset()shifted()rows that shifted to new indicestoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:TableUpdateIncrement the reference count on this object.- Specified by:
acquirein interfaceTableUpdate- Returns:
thisfor convenience
-
release
public void release()Description copied from interface:TableUpdateDecrement the reference count on this object.- Specified by:
releasein interfaceTableUpdate
-
getModifiedPreShift
- Specified by:
getModifiedPreShiftin interfaceTableUpdate- Returns:
- a cached copy of the modified RowSet in pre-shift keyspace
-
reset
public void reset() -
copy
Make a deep copy of aTableUpdate. -
added
Description copied from interface:TableUpdaterows added (post-shift keyspace)- Specified by:
addedin interfaceTableUpdate
-
removed
Description copied from interface:TableUpdaterows removed (pre-shift keyspace)- Specified by:
removedin interfaceTableUpdate
-
modified
Description copied from interface:TableUpdaterows modified (post-shift keyspace)- Specified by:
modifiedin interfaceTableUpdate
-
shifted
Description copied from interface:TableUpdaterows that shifted to new indices- Specified by:
shiftedin interfaceTableUpdate
-
modifiedColumnSet
Description copied from interface:TableUpdatethe set of columns that might have changed for rows in themodified()RowSet- Specified by:
modifiedColumnSetin interfaceTableUpdate
-