APISonar


com.jthink.skyeye.web.constant.EsSqlTemplate.TIME

> com > jthink > skyeye > web > constant > EsSqlTemplate > TIME
com APIs jthink APIs skyeye APIs web APIs constant APIs EsSqlTemplate APIs TIME APIs

Example 1
public StatisticsDto realtimeStatistics(String eventType, String uniqueName, String time) {
        String sql = Constants.EMPTY_STR;
        if (uniqueName.equals(Constants.ALL)) {
            sql = this.realtimeAllTemplate.replace(EsSqlTemplate.EVENTTYPE, eventType).replace(EsSqlTemplate.TIME,
                    time);
        } else {
            sql = this.realtimeTemplate.replace(EsSqlTemplate.EVENTTYPE, eventType).replace(EsSqlTemplate.UNIQUENAME,
                    uniqueName).replace(EsSqlTemplate.TIME, time);
        }
        StatisticsDto dto = this.parseRealtimeData(this.query(sql));
        dto.setTime(time);
        return dto;
    }