public class DefaultBlockFilter extends java.lang.Object implements BlockFilter
| Constructor and Description |
|---|
DefaultBlockFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration conf)
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(Configuration conf)
BlockFilterconfigure in interface BlockFilterpublic void selectCells(GlobalIndex<Partition> gIndex, ResultCollector<Partition> output)
BlockFilterselectCells in interface BlockFilterpublic void selectCellPairs(GlobalIndex<Partition> gIndex1, GlobalIndex<Partition> gIndex2, ResultCollector2<Partition,Partition> output)
BlockFilterselectCellPairs in interface BlockFilter