From 71c1a70ff679b71ca08a0788c19462764d128734 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Mon, 27 Aug 2018 15:30:45 -0700 Subject: [PATCH] FilteredBufferAggregator: Fix missing relocate, isNull methods. (#6233) --- .../aggregation/FilteredBufferAggregator.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/processing/src/main/java/io/druid/query/aggregation/FilteredBufferAggregator.java b/processing/src/main/java/io/druid/query/aggregation/FilteredBufferAggregator.java index e6c96dc6d00..8b75c010e1f 100644 --- a/processing/src/main/java/io/druid/query/aggregation/FilteredBufferAggregator.java +++ b/processing/src/main/java/io/druid/query/aggregation/FilteredBufferAggregator.java @@ -73,6 +73,23 @@ public class FilteredBufferAggregator implements BufferAggregator return delegate.getDouble(buf, position); } + @Override + public void relocate( + final int oldPosition, + final int newPosition, + final ByteBuffer oldBuffer, + final ByteBuffer newBuffer + ) + { + delegate.relocate(oldPosition, newPosition, oldBuffer, newBuffer); + } + + @Override + public boolean isNull(final ByteBuffer buf, final int position) + { + return delegate.isNull(buf, position); + } + @Override public void close() {