spine_io.importers.odbc_reader

Contains ODBCConnector class.

author:
  1. Vennström (VTT)
date:

1.6.2019

Module Contents

class spine_io.importers.odbc_reader.ODBCConnector[source]

Bases: spine_io.io_api.SourceConnection

HAS_TABLES = True[source]
DISPLAY_NAME = ODBC[source]
tables[source]

Tables.

connect_to_source(self, source)[source]

TODO: Needs implementation

disconnect(self)[source]

TODO: Needs implementation

get_tables(self)[source]

TODO: Needs implementation

get_data_iterator(self, table, options, max_rows=-1)[source]

TODO: Needs implementation

_new_options(self)[source]
set_table(self, table)[source]
source_selector(self, parent=None)[source]
read_data(self, table, max_rows=100)[source]

Return data read from data source table in table. If max_rows is specified only that number of rows.

preview_data(self, table)[source]
option_widget(self)[source]

Return a QWidget with options for reading data from a table in source.