gavo.rsc.tables module

Common interface to table implementations.

gavo.rsc.tables.TableForDef(tableDef, suppressIndex=False, parseOptions=<ParseOptions validateRows=False maxRows=None keepGoing=False>, **kwargs)[source]

returns a table instance suitable for holding data described by tableDef.

This is the main interface to table instancation.

suppressIndex=True can be used to suppress index generation on in-memory tables with primary keys. Use it when you are sure you will not need the index (e.g., if staging an on-disk table).

See the `function getParseOptions`_ for what you can pass in as parseOptions; arguments there can also be used here.