ILatestDao.java 724 B

12345678910111213141516171819202122232425
  1. package com.gyee.wisdom.adapter.timeseries.dao;
  2. import com.gyee.wisdom.adapter.model.adapter.TsData;
  3. import com.gyee.wisdom.adapter.model.adapter.TsPoint;
  4. import com.gyee.wisdom.adapter.model.adapter.TsPointData;
  5. import java.util.List;
  6. import java.util.Map;
  7. public interface ILatestDao {
  8. Map<String, TsData> getTsDataLatest(List<TsPoint> tsPoints) throws Exception;
  9. int writeDoubleLatest(List<TsPointData> list) throws Exception;
  10. int writeStringLatest(List<TsPointData> list) throws Exception;
  11. int writeBooleanLatest(List<TsPointData> list) throws Exception;
  12. int writeLongLatest(List<TsPointData> list) throws Exception;
  13. boolean writeLatest(List<TsPointData> dataList) throws Exception;
  14. }