Class WikibaseAPIUpdateScheduler

  • All Implemented Interfaces:
    UpdateScheduler

    public class WikibaseAPIUpdateScheduler
    extends Object
    implements UpdateScheduler
    A simple scheduler for batches committed via the Wikibase API. The strategy is quite simple and makes at most two edits per touched entity (which is not minimal though). Each update is split between statements making references to new entities, and statements not making these references. All updates with no references to new entities are done first (which creates all new entities), then all other updates are done.
    Author:
    Antonin Delpeuch
    • Constructor Detail

      • WikibaseAPIUpdateScheduler

        public WikibaseAPIUpdateScheduler()
    • Method Detail

      • splitUpdate

        protected void splitUpdate​(EntityEdit edit)
        Splits an update into two parts
        Parameters:
        edit -