scan, Bytes.toBytes(field.getName()));
return Bytes.toBytes(sum == null ? 0 : sum.intValue());
}
case INT64: {
Long sum = aggregationClient
.sum(Bytes.toBytes(tableName), new LongColumnInterpreter(),
scan, Bytes.toBytes(field.getName()));
return Bytes.toBytes(sum == null ? 0 : sum.longValue());
}
case FLOAT: {
Float sum = aggregationClient