Skip to content
Andrey edited this page May 16, 2015 · 4 revisions

Table

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

MappedTable : Table

Table after map transformation. Can apply function lazily.

FilteredTable : Table

Table after filter transformation.

InMemoryTable : Table

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

StreamingTable : Table

Interface of table that is read incrementally.