@NotThreadSafe public class GenericSpiller extends Object implements Spiller
| Constructor and Description |
|---|
GenericSpiller(List<Type> types,
SpillContext spillContext,
AggregatedMemoryContext aggregatedMemoryContext,
SingleStreamSpillerFactory singleStreamSpillerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close releases/removes all underlying resources used during spilling
like for example all created temporary files.
|
List<Iterator<Page>> |
getSpills()
Returns list of previously spilled Pages streams.
|
com.google.common.util.concurrent.ListenableFuture<?> |
spill(Iterator<Page> pageIterator)
Initiate spilling of pages stream.
|
public GenericSpiller(List<Type> types, SpillContext spillContext, AggregatedMemoryContext aggregatedMemoryContext, SingleStreamSpillerFactory singleStreamSpillerFactory)
public com.google.common.util.concurrent.ListenableFuture<?> spill(Iterator<Page> pageIterator)
Spillerpublic List<Iterator<Page>> getSpills()
Spillerpublic void close()
SpillerCopyright © 2012–2019. All rights reserved.