com.olapdb.core.domain.MultiMeasureStat Maven / Gradle / Ivy
The newest version!
package com.olapdb.core.domain;
import com.olapdb.obase.data.Bytez;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import java.io.ByteArrayOutputStream;
@Getter
@Setter
@Slf4j
@ToString
public class MultiMeasureStat {
private long count;
private SingleMeasureStat[] measures;
public MultiMeasureStat(int measureCount){
measures = new SingleMeasureStat[measureCount];
}
public void combine(MultiMeasureStat stat){
this.count += stat.count;
for(int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy