use of com.linkedin.pinot.core.operator.blocks.OrBlock in project pinot by linkedin.
the class OrOperator method nextFilterBlock.
@Override
public BaseFilterBlock nextFilterBlock(BlockId BlockId) {
List<FilterBlockDocIdSet> blockDocIdSets = new ArrayList<FilterBlockDocIdSet>();
for (Operator operator : operators) {
Block block = operator.nextBlock();
FilterBlockDocIdSet blockDocIdSet = (FilterBlockDocIdSet) block.getBlockDocIdSet();
blockDocIdSets.add(blockDocIdSet);
}
orBlock = new OrBlock(blockDocIdSets);
return orBlock;
}
Aggregations