Package io.prestosql.spiller
Class LocalSpillContext
- java.lang.Object
-
- io.prestosql.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 void
close()
void
updateBytes(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.prestosql.operator.SpillContext
newLocalSpillContext
-
-
-
-
Constructor Detail
-
LocalSpillContext
public LocalSpillContext(SpillContext parentSpillContext)
-
-
Method Detail
-
updateBytes
public void updateBytes(long bytes)
- Specified by:
updateBytes
in interfaceSpillContext
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceSpillContext
-
-