Skip to content

Plugins

Jakub Puchała edited this page Mar 26, 2018 · 10 revisions

Writing own queryable sources

Musoq uses conception of schemas and virtual tables. When typing ... from #csv.file('path/to/file.csv') you are refering to schema named csv and parametrized source based on which the virtual table will be created. What steps are required to create own source:

  1. Implement ISchemaTable. It defines what columns table has.
  2. Implement queryable source by inheriting from RowSource.
  3. Implement user defined functions by inheriting from LibraryBase
Clone this wiki locally