KEYTYPE
- unique ID key typeDATATYPE
- data typepublic interface RowDataManager<KEYTYPE,DATATYPE>
Modifier and Type | Interface and Description |
---|---|
static interface |
RowDataManager.LoadExtraColumns<DATATYPE>
Interface for loading data for extra columns.
|
Modifier and Type | Method and Description |
---|---|
void |
loadData(DATATYPE data,
long index,
boolean usePrev)
Populates a data object with data from a table row.
|
DATATYPE |
newData()
Creates a new data instance.
|
DynamicTable |
table()
Gets the source table.
|
KEYTYPE |
uniqueIdCurrent(long index)
Gets the current unique identifier value for a row.
|
KEYTYPE |
uniqueIdPrev(long index)
Gets the previous unique identifier value for a row.
|
DynamicTable table()
DATATYPE newData()
KEYTYPE uniqueIdCurrent(long index)
This function should only be called during an update loop or while holding the LTM lock.
index
- table row index.KEYTYPE uniqueIdPrev(long index)
This function should only be called during an update loop or while holding the LTM lock.
index
- table row index.void loadData(DATATYPE data, long index, boolean usePrev)
This method should be called while the LTM lock is held. This can occur either during the update loop or the LTM lock can be acquired outside the update loop. If the LTM lock is not held, the loaded data can be inconsistent or corrupt.
data
- data structure to populateindex
- table index of the row to load data fromusePrev
- use data from the previous table update