Class LeafFilter

java.lang.Object
org.apache.orc.impl.filter.LeafFilter
All Implemented Interfaces:
VectorFilter

public abstract class LeafFilter extends Object implements VectorFilter
  • Constructor Details

    • LeafFilter

      protected LeafFilter(String colName, boolean negated)
  • Method Details

    • getColName

      public String getColName()
    • filter

      public void filter(OrcFilterContext fc, Selected bound, Selected selOut)
      Description copied from interface: VectorFilter
      Filter the vectorized row batch that is wrapped into the FilterContext.
      Specified by:
      filter in interface VectorFilter
      Parameters:
      fc - The filter context that wraps the VectorizedRowBatch
      bound - 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 order
    • allow

      protected abstract boolean allow(org.apache.hadoop.hive.ql.exec.vector.ColumnVector v, int rowIdx)