// String sql = String.format("select value from %s where address='%s' and where time >= '%s' and where time <= '%s' ", tableName, IdxBizFanPointProcessVariableClassification.getIndexAddress(), startTime, endTime);
Stringsql=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,idxBizFanPointProcessVariableClassification.getIndexAddress(),startTime,endTime);
Stringsql=String.format("select value from %s where address='%s' ",tableName,idxBizFanPointProcessVariableClassification.getIndexAddress());
// String sql = String.format("select value from %s where address='%s' and where time >= '%s' and where time <= '%s' ", tableName, IdxBizFanPointProcessVariableClassification.getIndexAddress(), startTime, endTime);
Stringsql=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,idxBizPvPointProcessVariableClassification.getIndexAddress(),startTime,endTime);
Stringsql=String.format("select value from %s where address='%s' ",tableName,idxBizPvPointProcessVariableClassification.getIndexAddress());
Stringsql1=String.format("select value from %s where address='%s' ",tableName,idxBizFanPointProcessVariableClassification.getIndexAddress());
Stringsql1=String.format("select value from %s where address='%s' and time >= '%s' and where time <= '%s' ",tableName,idxBizFanPointProcessVariableClassification.getIndexAddress(),startTime,endTime);
// String sql = String.format("select value from %s where address='%s' and where time >= '%s' and where time <= '%s' ", tableName, IdxBizFanPointProcessVariableClassification.getIndexAddress(), startTime, endTime);
Stringsql=String.format("select value from %s where address='%s' and time >= '%s' and where time <= '%s' ",tableName,idxBizFanPointVarCorrelation.getProcessIndexAddress(),startTime,endTime);
Stringsql=String.format("select value from %s where address='%s' ",tableName,idxBizFanPointVarCorrelation.getProcessIndexAddress());
Stringsql1=String.format("select value from %s where address='%s' ",tableName,idxBizPvPointProcessVariableClassification.getIndexAddress());
Stringsql1=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,idxBizPvPointProcessVariableClassification.getIndexAddress(),startTime,endTime);
// String sql = String.format("select value from %s where address='%s' and where time >= '%s' and where time <= '%s' ", tableName, IdxBizFanPointProcessVariableClassification.getIndexAddress(), startTime, endTime);
Stringsql=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,idxBizPvPointVarCorrelation.getProcessIndexAddress(),startTime,endTime);
Stringsql=String.format("select value from %s where address='%s' ",tableName,idxBizPvPointVarCorrelation.getProcessIndexAddress());
Stringsql0=String.format("select value from %s where address='%s' ",tableName,IdxBizFanPointProcessVariableClassification.getIndexAddress());
Stringsql0=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,IdxBizFanPointProcessVariableClassification.getIndexAddress(),startTime,endTime);
// String sql = String.format("select value from %s where address='%s' and where time >= '%s' and where time <= '%s' ", tableName, IdxBizFanPointProcessVariableClassification.getIndexAddress(), startTime, endTime);
// String sql = String.format("select value from %s where address='%s' and where time >= '%s' and where time <= '%s' ", tableName, IdxBizFanPointProcessVariableClassification.getIndexAddress(), startTime, endTime);
Stringsql=String.format("select value from %s where address='%s' ",tableName,list.get(0).getProcessIndexAddress());
Stringsql=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,list.get(0).getProcessIndexAddress(),startTime,endTime);
Stringsql1=String.format("select value from %s where address='%s' ",tableName,list.get(1).getProcessIndexAddress());
Stringsql1=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,list.get(1).getProcessIndexAddress(),startTime,endTime);
Stringsql2=String.format("select value from %s where address='%s' ",tableName,list.get(2).getProcessIndexAddress());
Stringsql2=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,list.get(2).getProcessIndexAddress(),startTime,endTime);
Stringsql0=String.format("select value from %s where address='%s' ",tableName,idxBizPvPointProcessVariableClassification.getIndexAddress());
Stringsql0=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,idxBizPvPointProcessVariableClassification.getIndexAddress(),startTime,endTime);
// String sql = String.format("select value from %s where address='%s' and where time >= '%s' and where time <= '%s' ", tableName, IdxBizFanPointProcessVariableClassification.getIndexAddress(), startTime, endTime);
Stringsql=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,list.get(0).getProcessIndexAddress(),startTime,endTime);
Stringsql=String.format("select value from %s where address='%s' ",tableName,list.get(0).getProcessIndexAddress());
Stringsql1=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,list.get(1).getProcessIndexAddress(),startTime,endTime);
Stringsql1=String.format("select value from %s where address='%s' ",tableName,list.get(1).getProcessIndexAddress());
Stringsql2=String.format("select value from %s where address='%s' and time >= '%s' and time <= '%s' ",tableName,list.get(2).getProcessIndexAddress(),startTime,endTime);
Stringsql2=String.format("select value from %s where address='%s' ",tableName,list.get(2).getProcessIndexAddress());
sql=String.format("select * from iot_data_%s where address ='%s' and time > '%s' and time < '%s' ;",idxBizFanPointProcessVariableClassification.getGatewayId(),idxBizFanPointProcessVariableClassification.getIndexAddress(),getUtcTimeString(startTime),getUtcTimeString(endTime));
sql=String.format("select * from iot_data_%s where address ='%s' and time > '%s' and time < '%s' ;",idxBizFanPointProcessVariableClassification.getGatewayId(),idxBizFanPointProcessVariableClassification.getIndexAddress(),getUtcTimeString(startTime),getUtcTimeString(endTime));
sql=String.format("select * from iot_data_%s where address ='%s' and time > '%s' and time < '%s' ;",idxBizPvPointProcessVariableClassification.getGatewayId(),idxBizPvPointProcessVariableClassification.getIndexAddress(),getUtcTimeString(startTime),getUtcTimeString(endTime));
sql=String.format("select * from iot_data_%s where address ='%s' and time > '%s' and time < '%s' ;",idxBizPvPointProcessVariableClassification.getGatewayId(),idxBizPvPointProcessVariableClassification.getIndexAddress(),getUtcTimeString(startTime),getUtcTimeString(endTime));