org.hammerlab.magic.rdd.grid
Given an RDD representing a summable value V at various (row, col) positions, compute a new RDD where an element with key (r, c) will have its value replaced by the sum of the values of all elements with keys (R, C) where R ≥ r and C ≥ c.
V
combinable value data type.
rdd must already partitioned by a GridPartitioner.
RDD with V values mapped to (row, col) position as on a 2-D grid.
Given an RDD representing a summable value
V
at various (row, col) positions, compute a new RDD where an element with key (r, c) will have its value replaced by the sum of the values of all elements with keys (R, C) where R ≥ r and C ≥ c.combinable value data type.