| 274 | } |
| 275 | |
| 276 | @Override |
| 277 | public String toString() { |
| 278 | final StringBuilder buf = new StringBuilder(); |
| 279 | buf.append("Downsampler: ") |
| 280 | .append(", downsampler=").append(specification) |
| 281 | .append(", rollupQuery=").append(rollup_query) |
| 282 | .append(", queryStart=").append(query_start) |
| 283 | .append(", queryEnd=").append(query_end) |
| 284 | .append(", runAll=").append(run_all) |
| 285 | .append(", current data=(timestamp=").append(timestamp) |
| 286 | .append(", value=").append(value) |
| 287 | .append("), values_in_interval=").append(values_in_interval); |
| 288 | return buf.toString(); |
| 289 | } |
| 290 | |
| 291 | /** Iterates source values for an interval. */ |
| 292 | protected class ValuesInInterval implements Aggregator.Doubles { |