Interface GroupableData

All Superinterfaces:
HistoricalData, Serializable
All Known Implementing Classes:
BasicDataTransaction, BasicHistoricalRecord, BasicScanclassHistorySet

public interface GroupableData extends HistoricalData
GroupableData is data that can be merged together in order to be stored more efficiently down the chain.

Data that can be grouped together represents the same type of thing- ie, multiple rows of the same table. The id returned by getId() should be unique enough to make sure that this is true.

  • Method Details

    • getGroupId

      String getGroupId()
      A string identifing the "group" of the data. In other words, any piece of data from this group can be merged together.
    • groupData

      GroupableData groupData(GroupableData other)
      Merge another piece of similar data into this one.