Package io.trino.spiller
Class LocalSpillContext
- java.lang.Object
-
- io.trino.spiller.LocalSpillContext
-
- All Implemented Interfaces:
SpillContext,Closeable,AutoCloseable
@ThreadSafe public final class LocalSpillContext extends Object implements SpillContext
-
-
Constructor Summary
Constructors Constructor Description LocalSpillContext(SpillContext parentSpillContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidupdateBytes(long bytes)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.operator.SpillContext
newLocalSpillContext
-
-
-
-
Constructor Detail
-
LocalSpillContext
public LocalSpillContext(SpillContext parentSpillContext)
-
-
Method Detail
-
updateBytes
public void updateBytes(long bytes)
- Specified by:
updateBytesin interfaceSpillContext
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceSpillContext
-
-