-
Notifications
You must be signed in to change notification settings - Fork 1
Table Architecture
Andrey edited this page May 16, 2015
·
4 revisions
Base interface for all tables supports following methods:
- map(function) - apply transformation to table rows
- filter(predicate) - filter table rows
- begin(), end() - get iterators to rows
- iterator++ - interface assumes only forward iteration
Table after map transformation. Can apply function lazily.
Table after filter transformation.
Interface of table that is stored in memory. Methods:
- size() - size of table
- operator[] - access table row by index
- iterator-- - interface assumes random access iteration
Interface of table that is read incrementally.