Class AbstractVeniceFilter<INPUT_VALUE>

java.lang.Object
com.linkedin.venice.hadoop.AbstractVeniceFilter<INPUT_VALUE>
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
VeniceRmdTTLFilter

public abstract class AbstractVeniceFilter<INPUT_VALUE> extends Object implements Closeable
An abstraction to filter given data type. It can be used in conjunction with FilterChain.
  • Constructor Details

    • AbstractVeniceFilter

      public AbstractVeniceFilter()
  • Method Details

    • checkAndMaybeFilterValue

      public abstract boolean checkAndMaybeFilterValue(INPUT_VALUE value)
      This function implements how to parse the value and determine if filtering is needed. For certain value from Active/Active partial update enabled stores, it might filter out part of its input value and only keep the remaining fresh part based on filter timestamp.
      Returns:
      true if the value should be filtered out, otherwise false.