using Apache.IoTDB.DataStructure; namespace JiShe.CollectBus.IoTDB.Interface { /// /// Session 连接池 /// public interface IIoTDbSessionPool : IDisposable { /// /// 打开连接池 /// /// Task OpenAsync(); /// /// 关闭连接池 /// /// Task CloseAsync(); /// /// 插入数据 /// /// /// Task InsertAsync(Tablet tablet); /// /// 查询数据 /// /// /// Task ExecuteQueryStatementAsync(string sql); } }