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.Updater
cleanup
in interface SpilledState.Updater
public String getFailureMessage()
SpilledState.Updater
getFailureMessage
in interface SpilledState.Updater
public long getMemLimit()
SpilledState.Updater
getMemLimit
in interface SpilledState.Updater
public boolean hasPartitionLimit()
SpilledState.Updater
hasPartitionLimit
in interface SpilledState.Updater
Copyright © 1970 The Apache Software Foundation. All rights reserved.