server/sources/__init__.py
changeset 9467 ad66d7b3fd48
parent 9466 c3a5f4507f12
child 9469 032825bbacab
--- a/server/sources/__init__.py	Wed Jan 22 15:50:03 2014 +0100
+++ b/server/sources/__init__.py	Mon Jul 01 16:13:17 2013 +0200
@@ -365,15 +365,6 @@
         """
         raise NotImplementedError(self)
 
-    def flying_insert(self, table, session, union, args=None, varmap=None):
-        """similar as .syntax_tree_search, but inserts data in the temporary
-        table (on-the-fly if possible, eg for the system source whose the given
-        cursor come from). If not possible, inserts all data by calling
-        .executemany().
-        """
-        res = self.syntax_tree_search(session, union, args, varmap=varmap)
-        session.repo.system_source.manual_insert(res, table, session)
-
     # write modification api ###################################################
     # read-only sources don't have to implement methods below
 
@@ -452,22 +443,12 @@
         """execute the query and return its result"""
         raise NotImplementedError(self)
 
-    def temp_table_def(self, selection, solution, table, basemap):
-        raise NotImplementedError(self)
-
     def create_index(self, session, table, column, unique=False):
         raise NotImplementedError(self)
 
     def drop_index(self, session, table, column, unique=False):
         raise NotImplementedError(self)
 
-    def create_temp_table(self, session, table, schema):
-        raise NotImplementedError(self)
-
-    def clean_temp_data(self, session, temptables):
-        """remove temporary data, usually associated to temporary tables"""
-        pass
-
 
     @deprecated('[3.13] use repo.eid2extid(source, eid, session)')
     def eid2extid(self, eid, session=None):