Class UpdateBySlotTracker

java.lang.Object
com.illumon.iris.db.v2.updateby.hashing.UpdateBySlotTracker

public class UpdateBySlotTracker
extends Object

This class tracks indices by individual bucket. During an update cycle it also provides a means to accumulate updates to each bucket so that they can be processed on a per-bucket basis.


Accumulation of bucketed changes is done by assigning a cookie, incrementally, to each visited bucket. The cookie can be then used to retrieve the changes to that bucket which lets the update use space proportional to the number of visited buckets in the update, instead of the total number of buckets in the table.