Class LegacyTmpFileSegmentWriteOutMediumFactory
java.lang.Object
org.apache.druid.segment.writeout.LegacyTmpFileSegmentWriteOutMediumFactory
- All Implemented Interfaces:
SegmentWriteOutMediumFactory
public final class LegacyTmpFileSegmentWriteOutMediumFactory
extends Object
implements SegmentWriteOutMediumFactory
-
Method Summary
Modifier and TypeMethodDescriptioninstance()makeSegmentWriteOutMedium(File outDir) Creates a new SegmentWriteOutMedium.
-
Method Details
-
instance
-
makeSegmentWriteOutMedium
Description copied from interface:SegmentWriteOutMediumFactoryCreates a new SegmentWriteOutMedium. If this type of SegmentWriteOutMedium needs to create some temprorary files, it creates a *subdirectory* in the given outDir, stores the files there, and removes the files and the subdirectory when closed.- Specified by:
makeSegmentWriteOutMediumin interfaceSegmentWriteOutMediumFactory- Throws:
IOException
-