private readonly Encoding _fileEncoding; // or null for automatic // must be run from the SQLite thread public static void Run(Notebook notebook, ScriptEnv env, ScriptRunner runner, Ast.ImportTxtStmt stmt) { var importer = new ImportTxtStmtRunner(notebook, env, runner, stmt); SqlUtil.WithTransaction(notebook, importer.Import); }
private void ExecuteImportTxtStmt(Ast.ImportTxtStmt stmt, ScriptEnv env) { ImportTxtStmtRunner.Run(_notebook, env, this, stmt); }