public class HashAggUpdater extends Object implements SpilledState.Updater
| Constructor and Description |
|---|
HashAggUpdater(BufferAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Does any necessary cleanup if we've spilled too much and abort the query.
|
String |
getFailureMessage()
Gets the failure message in the event that we spilled to far.
|
long |
getMemLimit()
Gets the current memory limit.
|
boolean |
hasPartitionLimit()
True if there is a limit to the number of times we can partition.
|
public HashAggUpdater(BufferAllocator allocator)
public void cleanup()
SpilledState.Updatercleanup in interface SpilledState.Updaterpublic String getFailureMessage()
SpilledState.UpdatergetFailureMessage in interface SpilledState.Updaterpublic long getMemLimit()
SpilledState.UpdatergetMemLimit in interface SpilledState.Updaterpublic boolean hasPartitionLimit()
SpilledState.UpdaterhasPartitionLimit in interface SpilledState.UpdaterCopyright © 2022 The Apache Software Foundation. All rights reserved.