Class AbstractSpilledPartitionMetadata
java.lang.Object
org.apache.drill.exec.physical.impl.common.AbstractSpilledPartitionMetadata
- All Implemented Interfaces:
SpilledPartitionMetadata
- Direct Known Subclasses:
AbstractHashBinaryRecordBatch.SpilledPartition
,HashAggSpilledPartition
public abstract class AbstractSpilledPartitionMetadata
extends Object
implements SpilledPartitionMetadata
-
Constructor Summary
ConstructorDescriptionAbstractSpilledPartitionMetadata
(int cycle, int originPartition, int prevOriginPartition) -
Method Summary
Modifier and TypeMethodDescriptionint
getCycle()
The spill cycle for a partition.int
The parent partition.int
The parent of parent partition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.physical.impl.common.SpilledPartitionMetadata
makeDebugString
-
Constructor Details
-
AbstractSpilledPartitionMetadata
public AbstractSpilledPartitionMetadata(int cycle, int originPartition, int prevOriginPartition)
-
-
Method Details
-
getCycle
public int getCycle()Description copied from interface:SpilledPartitionMetadata
The spill cycle for a partition.- Specified by:
getCycle
in interfaceSpilledPartitionMetadata
- Returns:
- The spill cycle for a partition.
-
getOriginPartition
public int getOriginPartition()Description copied from interface:SpilledPartitionMetadata
The parent partition.- Specified by:
getOriginPartition
in interfaceSpilledPartitionMetadata
- Returns:
- The parent partition.
-
getPrevOriginPartition
public int getPrevOriginPartition()Description copied from interface:SpilledPartitionMetadata
The parent of parent partition.- Specified by:
getPrevOriginPartition
in interfaceSpilledPartitionMetadata
- Returns:
- The parent of parent partition.
-