mirror of https://github.com/apache/druid.git
use as() method of base segment in reference counting segment (#3921)
This commit is contained in:
parent
ca2b04f0fd
commit
33c635aff2
|
@ -180,4 +180,9 @@ public class ReferenceCountingSegment extends AbstractSegment
|
|||
baseSegment.close();
|
||||
}
|
||||
}
|
||||
|
||||
public <T> T as(Class<T> clazz)
|
||||
{
|
||||
return getBaseSegment().as(clazz);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue