Class HashAggUpdater
java.lang.Object
org.apache.drill.exec.physical.impl.aggregate.HashAggUpdater
- All Implemented Interfaces:
SpilledState.Updater
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
Does any necessary cleanup if we've spilled too much and abort the query.Gets the failure message in the event that we spilled to far.long
Gets the current memory limit.boolean
True if there is a limit to the number of times we can partition.
-
Constructor Details
-
HashAggUpdater
-
-
Method Details
-
cleanup
public void cleanup()Description copied from interface:SpilledState.Updater
Does any necessary cleanup if we've spilled too much and abort the query.- Specified by:
cleanup
in interfaceSpilledState.Updater
-
getFailureMessage
Description copied from interface:SpilledState.Updater
Gets the failure message in the event that we spilled to far.- Specified by:
getFailureMessage
in interfaceSpilledState.Updater
- Returns:
- The failure message in the event that we spilled to far.
-
getMemLimit
public long getMemLimit()Description copied from interface:SpilledState.Updater
Gets the current memory limit.- Specified by:
getMemLimit
in interfaceSpilledState.Updater
- Returns:
- The current memory limit.
-
hasPartitionLimit
public boolean hasPartitionLimit()Description copied from interface:SpilledState.Updater
True if there is a limit to the number of times we can partition.- Specified by:
hasPartitionLimit
in interfaceSpilledState.Updater
- Returns:
- True if there is a limit to the number of times we can partition.
-