use of com.actiontech.dble.backend.mysql.nio.handler.query.impl.groupby.directgroupby.DGRowPacket in project dble by actiontech.
the class GroupByLocalResult method updateSumFunc.
protected void updateSumFunc(List<ItemSum> functions, RowDataPacket row) {
for (int index = 0; index < functions.size(); index++) {
ItemSum sum = functions.get(index);
Object transObj = ((DGRowPacket) row).getSumTran(index);
sum.aggregatorAdd(row, transObj);
}
}
use of com.actiontech.dble.backend.mysql.nio.handler.query.impl.groupby.directgroupby.DGRowPacket in project dble by actiontech.
the class GroupResultDiskBuffer method updateSumFunc.
protected void updateSumFunc(List<ItemSum> functions, RowDataPacket row) {
for (int index = 0; index < functions.size(); index++) {
ItemSum sum = functions.get(index);
Object transObj = ((DGRowPacket) row).getSumTran(index);
sum.aggregatorAdd(row, transObj);
}
}
use of com.actiontech.dble.backend.mysql.nio.handler.query.impl.groupby.directgroupby.DGRowPacket in project dble by actiontech.
the class GroupResultDiskBuffer method initSumFunctions.
protected void initSumFunctions(List<ItemSum> functions, RowDataPacket row) {
for (int i = 0; i < functions.size(); i++) {
ItemSum sum = functions.get(i);
Object transObj = ((DGRowPacket) row).getSumTran(i);
sum.resetAndAdd(row, transObj);
}
}
use of com.actiontech.dble.backend.mysql.nio.handler.query.impl.groupby.directgroupby.DGRowPacket in project dble by actiontech.
the class DirectGroupByHandler method initSumFunctions.
protected void initSumFunctions(List<ItemSum> functions, RowDataPacket row) {
for (int index = 0; index < functions.size(); index++) {
ItemSum sum = functions.get(index);
Object transObj = ((DGRowPacket) row).getSumTran(index);
sum.resetAndAdd(row, transObj);
}
}
Aggregations