view src/main/java/nl/cwi/monetdb/embedded/tables/IMonetDBTableUpdater.java @ 44:cd6ff38c90f4 embedded

Cleaned more code. Ready to implement the iterators internally.
author Pedro Ferreira <pedro.ferreira@monetdbsolutions.com>
date Thu, 10 Nov 2016 11:16:09 +0100 (2016-11-10)
parents dfea8468cd1a
children c592d8a72627
line wrap: on
line source
package nl.cwi.monetdb.embedded.tables;

/**
 * A row update iterator for a MonetDB table.
 *
 * @author <a href="mailto:pedro.ferreira@monetdbsolutions.com">Pedro Ferreira</a>
 */
public interface IMonetDBTableUpdater extends IMonetDBTableBaseIterator {

    /**
     * The business logic for the iterator. Use the
     * {@link nl.cwi.monetdb.embedded.tables.RowUpdater#updateColumn(int, Object) setColumn}
     * method in <code>processNextRow</code> to update the current row.
     *
     * @param nextRow The next row in the iteration.
     */
    void processNextRow(RowUpdater nextRow);
}