Package io.trino.spiller
Class GenericSpiller
java.lang.Object
io.trino.spiller.GenericSpiller
- All Implemented Interfaces:
Spiller,Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionGenericSpiller(List<Type> types, SpillContext spillContext, AggregatedMemoryContext aggregatedMemoryContext, SingleStreamSpillerFactory singleStreamSpillerFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close releases/removes all underlying resources used during spilling like for example all created temporary files.Returns list of previously spilled Pages streams.com.google.common.util.concurrent.ListenableFuture<Void> Initiate spilling of pages stream.
-
Constructor Details
-
GenericSpiller
public GenericSpiller(List<Type> types, SpillContext spillContext, AggregatedMemoryContext aggregatedMemoryContext, SingleStreamSpillerFactory singleStreamSpillerFactory)
-
-
Method Details
-
spill
Description copied from interface:SpillerInitiate spilling of pages stream. Returns completed future once spilling has finished. -
getSpills
Description copied from interface:SpillerReturns list of previously spilled Pages streams. -
close
public void close()Description copied from interface:SpillerClose releases/removes all underlying resources used during spilling like for example all created temporary files.
-