com.zolltov.zdb.file
Interface TableAppender


public interface TableAppender

A special type of table that can only be appended to.


Method Summary
 void append(Table table)
          Append data from another table to the end of this table.
 

Method Detail

append

void append(Table table)
Append data from another table to the end of this table. For all columns in this database, there must exist a column with the same name and type in the passed table. Columns in the passed table that have no corresponding column in this table is ignored.

Data from the passed table may be referenced and not copied to this table, so further mutation done to the passed table should be avoided.

Note that there is no verification that this method do not introduce multiple keys if this table is keyed.

Parameters:
table - A table containing data to add to the end of this table.
Throws:
TypeMismatchException - if a column in the passed table is missing or have the wrong type.