Interface VectorFilter

All Known Implementing Classes:
AndFilter, IsNotNullFilter, IsNullFilter, LeafFilter, OrFilter

public interface VectorFilter
A filter that operates on the supplied VectorizedRowBatch and updates the selections.

This is the interface that is the basis of both the leaf filters such as Equals, In and logical filters such as And, Or and Not

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Filter the vectorized row batch that is wrapped into the FilterContext.
  • Method Details

    • filter

      void filter(OrcFilterContext fc, Selected bound, Selected selOut)
      Filter the vectorized row batch that is wrapped into the FilterContext.
      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