Package com.linkedin.venice.hadoop
Class AbstractVeniceFilter<INPUT_VALUE>
java.lang.Object
com.linkedin.venice.hadoop.AbstractVeniceFilter<INPUT_VALUE>
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
VeniceRmdTTLFilter
An abstraction to filter given data type. It can be used in conjunction with
FilterChain
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
This function implements how to parse the value and determine if filtering is needed.
-
Constructor Details
-
AbstractVeniceFilter
public AbstractVeniceFilter()
-
-
Method Details
-
checkAndMaybeFilterValue
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.
-