added continuation support for table export

All the entities loaded in memory, not recommended for huge data.