Class OnHeapMemorySegmentWriteOutMediumFactory
- java.lang.Object
-
- org.apache.druid.segment.writeout.OnHeapMemorySegmentWriteOutMediumFactory
-
- All Implemented Interfaces:
SegmentWriteOutMediumFactory
public class OnHeapMemorySegmentWriteOutMediumFactory extends Object implements SegmentWriteOutMediumFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnHeapMemorySegmentWriteOutMediumFactory
instance()
SegmentWriteOutMedium
makeSegmentWriteOutMedium(File outDir)
Creates a new SegmentWriteOutMedium.
-
-
-
Method Detail
-
instance
public static OnHeapMemorySegmentWriteOutMediumFactory instance()
-
makeSegmentWriteOutMedium
public SegmentWriteOutMedium makeSegmentWriteOutMedium(File outDir)
Description copied from interface:SegmentWriteOutMediumFactory
Creates 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:
makeSegmentWriteOutMedium
in interfaceSegmentWriteOutMediumFactory
-
-