Class VersionIndexMaintainer


  • @API(EXPERIMENTAL)
    public class VersionIndexMaintainer
    extends StandardIndexMaintainer
    Implementation of IndexMaintainer for the "version" index type. Here, the keys of the index are required to have exactly one column that is of type Version. If records are added to this index with a complete FDBRecordVersion associated with it, then the given version is used. If it is associated with an incomplete RecordVersion, then it will set the key in such a way that the global version is filled in when the record is committed. If one only ever serializes records with incomplete RecordVersions, then this index guarantees that the version column is strictly monotonically increasing with time.