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
ConstructorsConstructorDescriptionAbstractSpilledPartitionMetadata(int cycle, int originPartition, int prevOriginPartition) -
Method Summary
Modifier and TypeMethodDescriptionintgetCycle()The spill cycle for a partition.intThe parent partition.intThe parent of parent partition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:SpilledPartitionMetadataThe spill cycle for a partition.- Specified by:
getCyclein interfaceSpilledPartitionMetadata- Returns:
- The spill cycle for a partition.
-
getOriginPartition
public int getOriginPartition()Description copied from interface:SpilledPartitionMetadataThe parent partition.- Specified by:
getOriginPartitionin interfaceSpilledPartitionMetadata- Returns:
- The parent partition.
-
getPrevOriginPartition
public int getPrevOriginPartition()Description copied from interface:SpilledPartitionMetadataThe parent of parent partition.- Specified by:
getPrevOriginPartitionin interfaceSpilledPartitionMetadata- Returns:
- The parent of parent partition.
-