view src/main/java/nl/cwi/monetdb/embedded/tables/IMonetDBTableUpdater.java @ 51:c592d8a72627 embedded

More defensive approach for tables. Only the table name and schema are cached.
author Pedro Ferreira <pedro.ferreira@monetdbsolutions.com>
date Wed, 16 Nov 2016 21:21:26 +0100 (2016-11-16)
parents cd6ff38c90f4
children
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#updateColumnByIndex(int, Class, Object)}
     * method in <code>processNextRow</code> to update the current row.
     *
     * @param nextRow The next row in the iteration.
     */
    void processNextRow(RowUpdater nextRow);
}