new FilteredAggregatorFactory( new LongSumAggregatorFactory("valFiltered", "val"), new SpatialDimFilter( "dim.geo", new RectangularBound(new float[]{0.0f, 0.0f}, new float[]{9.0f, 9.0f})
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "dim.geo", new RectangularBound(new float[]{0.0f, 0.0f}, new float[]{9.0f, 9.0f})
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "dim.geo", new RectangularBound(new float[]{0.0f, 0.0f}, new float[]{9.0f, 9.0f})
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "dim.geo", new RectangularBound(new float[]{0.0f, 0.0f}, new float[]{9.0f, 9.0f})
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "spatialIsRad", new RadiusBound(new float[]{0.0f, 0.0f}, 5)
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "dim.geo", new RadiusBound(new float[]{0.0f, 0.0f}, 5)
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "dim.geo", new RadiusBound(new float[]{0.0f, 0.0f}, 5)
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "dim.geo", new RadiusBound(new float[]{0.0f, 0.0f}, 5)
.intervals(Collections.singletonList(Intervals.of("2013-01-01/2013-01-07"))) .filters( new SpatialDimFilter( "spatialIsRad", new RadiusBound(new float[]{0.0f, 0.0f}, 5)
ImmutableList.of("host", "spatial"), ImmutableList.of("visited_sum", "unique_hosts"), new SpatialDimFilter("spatial", new RadiusBound(new float[]{1, 0}, 0.1f)) ); final InputRow row = firehose2.nextRow();