diff --git a/processing/src/main/java/io/druid/segment/ReferenceCountingSegment.java b/processing/src/main/java/io/druid/segment/ReferenceCountingSegment.java index c30a7b95e98..8a4505da333 100644 --- a/processing/src/main/java/io/druid/segment/ReferenceCountingSegment.java +++ b/processing/src/main/java/io/druid/segment/ReferenceCountingSegment.java @@ -180,4 +180,9 @@ public class ReferenceCountingSegment extends AbstractSegment baseSegment.close(); } } + + public T as(Class clazz) + { + return getBaseSegment().as(clazz); + } }