Package io.prestosql.spiller
Class FileSingleStreamSpillerFactory
- java.lang.Object
-
- io.prestosql.spiller.FileSingleStreamSpillerFactory
-
- All Implemented Interfaces:
SingleStreamSpillerFactory
public class FileSingleStreamSpillerFactory extends Object implements SingleStreamSpillerFactory
-
-
Constructor Summary
Constructors Constructor Description FileSingleStreamSpillerFactory(com.google.common.util.concurrent.ListeningExecutorService executor, BlockEncodingSerde blockEncodingSerde, SpillerStats spillerStats, List<Path> spillPaths, double maxUsedSpaceThreshold, boolean spillCompressionEnabled, boolean spillEncryptionEnabled)
FileSingleStreamSpillerFactory(Metadata metadata, SpillerStats spillerStats, FeaturesConfig featuresConfig, NodeSpillConfig nodeSpillConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanupOldSpillFiles()
SingleStreamSpiller
create(List<Type> types, SpillContext spillContext, LocalMemoryContext memoryContext)
void
destroy()
-
-
-
Constructor Detail
-
FileSingleStreamSpillerFactory
@Inject public FileSingleStreamSpillerFactory(Metadata metadata, SpillerStats spillerStats, FeaturesConfig featuresConfig, NodeSpillConfig nodeSpillConfig)
-
FileSingleStreamSpillerFactory
public FileSingleStreamSpillerFactory(com.google.common.util.concurrent.ListeningExecutorService executor, BlockEncodingSerde blockEncodingSerde, SpillerStats spillerStats, List<Path> spillPaths, double maxUsedSpaceThreshold, boolean spillCompressionEnabled, boolean spillEncryptionEnabled)
-
-
Method Detail
-
cleanupOldSpillFiles
@PostConstruct public void cleanupOldSpillFiles()
-
destroy
@PreDestroy public void destroy()
-
create
public SingleStreamSpiller create(List<Type> types, SpillContext spillContext, LocalMemoryContext memoryContext)
- Specified by:
create
in interfaceSingleStreamSpillerFactory
-
-