}
<BUG>public Number sum(String key, String criteria, Timestamp timestamp) {
</BUG>
return concourse.execute(() -> {
<BUG>TObject result = concourse.thrift().sumKeyCclTime(key, criteria,
</BUG>
timestamp.getMicros(), concourse.creds(),
concourse.transaction(), concourse.environment());
<BUG>return (Number) Convert.thriftToJava(result);
});</BUG>
}

}
public Number sum(String key, Collection<Long> records) {
return concourse.execute(() -> {
TObject result = concourse.thrift().sumKeyRecords(key,
Collections.toLongList(records), concourse.creds(),
concourse.transaction(), concourse.environment());
return Numbers.toNumber(
new BigDecimal((String) Convert.thriftToJava(result)));
});
