public abstract class LeafFilter extends Object implements VectorFilter
Modifier | Constructor and Description |
---|---|
protected |
LeafFilter(String colName,
boolean negated) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
allow(ColumnVector v,
int rowIdx) |
void |
filter(OrcFilterContext fc,
Selected bound,
Selected selOut)
Filter the vectorized row batch that is wrapped into the FilterContext.
|
String |
getColName() |
protected LeafFilter(String colName, boolean negated)
public String getColName()
public void filter(OrcFilterContext fc, Selected bound, Selected selOut)
VectorFilter
filter
in interface VectorFilter
fc
- The filter context that wraps the VectorizedRowBatchbound
- The bound of the scan, it is expected that the filter only operates on the bound
and change the selection status of the rows scoped by the bound. The filter is
expected to leave the bound unchanged.selOut
- The filter should update the selOut for the elements scoped by bound. The selOut
should be sorted in ascending orderprotected abstract boolean allow(ColumnVector v, int rowIdx)
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.