using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiShe.CollectBus.IoTDBProvider
{
///
/// IoTDB数据源
///
public interface IIoTDBProvider
{
///
/// 插入数据
///
///
///
///
Task InsertAsync(T entity) where T : IoTEntity;
///
/// 批量插入数据
///
///
///
///
Task BatchInsertAsync(IEnumerable entities) where T : IoTEntity;
///
/// 查询数据
///
///
///
///
Task> QueryAsync(QueryOptions options) where T : IoTEntity, new();
}
}