chop-dbhi / dataexpress

[NOT MAINTAINED] DataExpress is a simple, Scala-based cross database ETL toolkit supporting Postgres, MySql, Oracle, SQLServer, and Sqlite
http://dataexpress.research.chop.edu
BSD 2-Clause "Simplified" License
72 stars 9 forks source link

Allow custom DataTables by passing functions for .next and .hasNext #25

Open mitalia opened 11 years ago

mitalia commented 11 years ago

As it stands, DataTables have fixed .next and .hasNext functions. Ideally, an advanced user (or someone doing work on the internals of DataExpress) might benefit from a constructor that allows one to pass a custom function to .next and .hasNext. Otherwise, the only other way to do this is to subclass DataTables and override these methods.