Class HashAggUpdater
java.lang.Object
org.apache.drill.exec.physical.impl.aggregate.HashAggUpdater
- All Implemented Interfaces:
SpilledState.Updater
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()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.longGets the current memory limit.booleanTrue 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.UpdaterDoes any necessary cleanup if we've spilled too much and abort the query.- Specified by:
cleanupin interfaceSpilledState.Updater
-
getFailureMessage
Description copied from interface:SpilledState.UpdaterGets the failure message in the event that we spilled to far.- Specified by:
getFailureMessagein interfaceSpilledState.Updater- Returns:
- The failure message in the event that we spilled to far.
-
getMemLimit
public long getMemLimit()Description copied from interface:SpilledState.UpdaterGets the current memory limit.- Specified by:
getMemLimitin interfaceSpilledState.Updater- Returns:
- The current memory limit.
-
hasPartitionLimit
public boolean hasPartitionLimit()Description copied from interface:SpilledState.UpdaterTrue if there is a limit to the number of times we can partition.- Specified by:
hasPartitionLimitin interfaceSpilledState.Updater- Returns:
- True if there is a limit to the number of times we can partition.
-