Class SinkSegmentReference

    • Constructor Detail

      • SinkSegmentReference

        public SinkSegmentReference​(int hydrantNumber,
                                    org.apache.druid.segment.SegmentReference segment,
                                    boolean immutable,
                                    Closeable releaser)
    • Method Detail

      • getHydrantNumber

        public int getHydrantNumber()
        Index of the FireHydrant within the Sink that this segment reference came from.
      • getSegment

        public org.apache.druid.segment.SegmentReference getSegment()
        The segment reference.
      • isImmutable

        public boolean isImmutable()
        Whether the segment is immutable.