/
krasninja
/
querycat
Обзор
Документация
Войти
/
krasninja
/
querycat
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/QueryCat.Backend.Core/Data/IRowsSource.cs
30 строк
786 B
Ivan Kozhin
Create Core module, move main classes there
24 авг 2023, 19:38
24 авг 2023, 19:38
4588519
Код
Авторство
О чём код?
namespace QueryCat.Backend.Core.Data; /// <summary> /// The external provider of data. It can be files (CSV, logs), cloud providers, SSH/FTP /// links, etc. /// </summary> public interface IRowsSource { /// <summary> /// Query context. /// </summary> QueryContext QueryContext { get; set; } /// <summary> /// Initialize rows output for reading or writing. If it is used for writing /// it should prepare all necessary data (handles, connections) to be able /// to write rows. As for reading, it should initialize Columns. /// </summary> void Open(); /// <summary> /// Close source. /// </summary> void Close(); /// <summary> /// Sets the input or output to its initial position. /// </summary> void Reset(); }