Search in sources :

Example 1 with CounterStat

use of io.airlift.stats.CounterStat in project presto by prestodb.

the class PipelineContext method getOutputDataSize.

public CounterStat getOutputDataSize() {
    CounterStat stat = new CounterStat();
    stat.merge(outputDataSize);
    for (DriverContext driver : drivers) {
        stat.merge(driver.getOutputDataSize());
    }
    return stat;
}
Also used : CounterStat(io.airlift.stats.CounterStat)

Example 2 with CounterStat

use of io.airlift.stats.CounterStat in project presto by prestodb.

the class PipelineContext method getInputDataSize.

public CounterStat getInputDataSize() {
    CounterStat stat = new CounterStat();
    stat.merge(rawInputDataSize);
    for (DriverContext driver : drivers) {
        stat.merge(driver.getInputDataSize());
    }
    return stat;
}
Also used : CounterStat(io.airlift.stats.CounterStat)

Example 3 with CounterStat

use of io.airlift.stats.CounterStat in project presto by prestodb.

the class PipelineContext method getOutputPositions.

public CounterStat getOutputPositions() {
    CounterStat stat = new CounterStat();
    stat.merge(outputPositions);
    for (DriverContext driver : drivers) {
        stat.merge(driver.getOutputPositions());
    }
    return stat;
}
Also used : CounterStat(io.airlift.stats.CounterStat)

Example 4 with CounterStat

use of io.airlift.stats.CounterStat in project presto by prestodb.

the class PipelineContext method getInputPositions.

public CounterStat getInputPositions() {
    CounterStat stat = new CounterStat();
    stat.merge(rawInputPositions);
    for (DriverContext driver : drivers) {
        stat.merge(driver.getInputPositions());
    }
    return stat;
}
Also used : CounterStat(io.airlift.stats.CounterStat)

Aggregations

CounterStat (io.airlift.stats.CounterStat)4