Import BatchRowUpdate classes from Echo
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 30 Jul 2015 22:09:11 +0000 (15:09 -0700)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 14 Aug 2015 01:28:13 +0000 (21:28 -0400)
commit85d5626d6c9e6da2640813f26f0850ee2f6e2ce7
tree5c9e58b0fecbdaab5c99265d8c501f9e14fd395a
parentb805edc4784165d683fdeb4eba27d241558f9753
Import BatchRowUpdate classes from Echo

This is a set of classes written for Echo to simplify writing
maintenance scripts that iterate over an entire table and update
some of those rows.

This has shown to be reusable elsewhere, especially the BatchRowIterator
class and will be useful to have generally avilable in core. The Echo
classes are all prefixed with the Echo name so there wont be any
conflict is both are installed.

Change-Id: I64c1751106caf34f41af799dbaf8794115537f06
autoload.php
includes/utils/BatchRowIterator.php [new file with mode: 0644]
includes/utils/BatchRowUpdate.php [new file with mode: 0644]
includes/utils/BatchRowWriter.php [new file with mode: 0644]
includes/utils/RowUpdateGenerator.php [new file with mode: 0644]
includes/utils/iterators/IteratorDecorator.php [new file with mode: 0644]
includes/utils/iterators/NotRecursiveIterator.php [new file with mode: 0644]
tests/phpunit/includes/utils/BatchRowUpdateTest.php [new file with mode: 0644]