public class DefaultBlockFilter extends java.lang.Object implements BlockFilter
Constructor and Description |
---|
DefaultBlockFilter() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf job)
Configure the block filter the first time it is created.
|
void |
selectCellPairs(GlobalIndex<Partition> gIndex1,
GlobalIndex<Partition> gIndex2,
ResultCollector2<Partition,Partition> output)
Selects block pairs that need to be processed together by a binary
MapReduce job.
|
void |
selectCells(GlobalIndex<Partition> gIndex,
ResultCollector<Partition> output)
Selects the blocks that need to be processed b a MapReduce job.
|
public void configure(JobConf job)
BlockFilter
configure
in interface BlockFilter
public void selectCells(GlobalIndex<Partition> gIndex, ResultCollector<Partition> output)
BlockFilter
selectCells
in interface BlockFilter
public void selectCellPairs(GlobalIndex<Partition> gIndex1, GlobalIndex<Partition> gIndex2, ResultCollector2<Partition,Partition> output)
BlockFilter
selectCellPairs
in interface BlockFilter