cgl.imr.data
Interface DataPartitioner

All Known Implementing Classes:
FileDataPartitioner

public interface DataPartitioner

Captures the common functionality of a data partitioner interface.


Method Summary
 void assignPartitions(PartitionInfo partitionInfo)
           
 int getAssignedNode(int mapTaskNumber)
           
 DataPartition getPartition(int mapTaskNumber)
           
 

Method Detail

assignPartitions

void assignPartitions(PartitionInfo partitionInfo)
                      throws DataPartitionException
Throws:
DataPartitionException

getAssignedNode

int getAssignedNode(int mapTaskNumber)
                    throws DataPartitionException
Throws:
DataPartitionException

getPartition

DataPartition getPartition(int mapTaskNumber)


For comments and suggestions please send e-mail to