Examples of queryHistory()


Examples of com.narirelays.ems.exchange.sophic.SophicHistoryDAO.queryHistory()

    Date startTime = sdf.parse("2011-06-21 04:30:00");
    Date endTime = sdf.parse("2011-06-22 00:00:00");
    int interval = 0;
   
//    如果输入的列名有错,查询肯定会报异常;处理
    OperResult result = sophicHistoryDAO.queryHistory(table_name, table_unit,id_col_name,time_col_name,keys, startTime, endTime, interval);
    if(result.isSUCCEED()){
      System.out.println(JavaDataPrettyPrint.print_object(result.getData()));
    }
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.