public interface SegmentWriteOutMedium extends Closeable
WriteOutBytes
,
obtained by calling makeWriteOutBytes()
on the SegmentWriteOutMedium instance), that are used during new Druid
segment creation, and other resources (see getCloser()
).
When SegmentWriteOutMedium is closed, all child WriteOutBytes couldn't be used anymore.Modifier and Type | Method and Description |
---|---|
Closer |
getCloser()
Returns a closer of this SegmentWriteOutMedium, which is closed in this SegmentWriteOutMedium's close() method.
|
WriteOutBytes |
makeWriteOutBytes()
Creates a new empty
WriteOutBytes , attached to this SegmentWriteOutMedium. |
WriteOutBytes makeWriteOutBytes() throws IOException
WriteOutBytes
, attached to this SegmentWriteOutMedium. When this SegmentWriteOutMedium is
closed, the returned WriteOutBytes couldn't be used anymore.IOException
Closer getCloser()
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.