修改v1版本流量统计带宽查询接口从clickhouse中查询

This commit is contained in:
renkaige
2019-05-20 14:57:19 +08:00
parent ab4ea8fa69
commit d66892e159
8 changed files with 615 additions and 5 deletions

View File

@@ -0,0 +1,82 @@
package com.nis.domain.restful.dashboard;
import java.util.Date;
/**
* 从clickhouse中查询流量统计相关结果映射的bean
* @author RenKaiGe
*
*/
public class TrafficTransStatisticCK extends TrafficEntity<TrafficTransStatisticCK> {
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer addrType;
private Integer transType;
private Integer entranceId;
private Date statTime;
private Double num;
private Integer searchDirection;//方向
private Integer searchQuotaType;//1:bps,2:pps,3:linknum
public Integer getAddrType() {
return addrType;
}
public void setAddrType(Integer addrType) {
this.addrType = addrType;
}
public Integer getTransType() {
return transType;
}
public void setTransType(Integer transType) {
this.transType = transType;
}
public Integer getEntranceId() {
return entranceId;
}
public void setEntranceId(Integer entranceId) {
this.entranceId = entranceId;
}
public Date getStatTime() {
return statTime;
}
public void setStatTime(Date statTime) {
this.statTime = statTime;
}
public Double getNum() {
return num;
}
public void setNum(Double num) {
this.num = num;
}
public Integer getSearchDirection() {
return searchDirection;
}
public void setSearchDirection(Integer searchDirection) {
this.searchDirection = searchDirection;
}
public Integer getSearchQuotaType() {
return searchQuotaType;
}
public void setSearchQuotaType(Integer searchQuotaType) {
this.searchQuotaType = searchQuotaType;
}
}